On 11Feb2022 18:31, Dorian ROSSE <dorianbr...@hotmail.fr> wrote:
>Does it is better to '''python3 -m install the_program''' instead 
>'''pip3 install the_program" when it is missing in the downloader 
>primary ?

That would be:

   python3 -m pip3 install the_program

The version with `python3` is generally better because it ensures that 
the install is associated with your `python3` command - that way when 
you run a programme with `python3` the module is available.

This is because a module is installed against a particular version of 
Python, and it is possible the the `pip3` you run is not associated with 
the same Python as `python3` in complicated setups.

You will of course want to adjust `python3` to be whatever Python 
executable you're working with, but in the basic case that is just 
`python3` as you have in your example.

Cheers,
Cameron Simpson <c...@cskk.id.au>
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure

Reply via email to