Sujet : Re: the name ``wheel''
De : list1 (at) *nospam* tompassin.net (Thomas Passin)
Groupes : comp.lang.pythonDate : 21. Mar 2024, 22:05:29
Autres entêtes
Message-ID : <mailman.4.1711067640.3468.python-list@python.org>
References : 1 2 3 4
User-Agent : Mozilla Thunderbird
On 3/21/2024 4:19 PM, Grant Edwards via Python-list wrote:
On 2024-03-21, MRAB via Python-list <python-list@python.org> wrote:
As it's recommended to use the Python Launcher py on Windows, I use
that instead:
>
py -m pip install something
>
because it gives better support if you have multiple versions of
Python installed.
I adopted that practice years ago on Linux as well after wasting what
seemed like most of a day trying to figure out problems which turned
out to be caused by the fact that "pip" and "python" invoked different
versions of Python.
Although you still need to be aware that there might be a different Python installation between e.g. "python3 -m pip" and "python3.11 -m pip", etc. depending on what's been installed.