Assistance Request - Issue with Installing 'pip' despite Python 3.10 Installation
Thomas Passin
list1 at tompassin.net
Thu Jun 8 00:01:29 EDT 2023
On 6/7/2023 6:28 PM, Eryk Sun wrote:
> On 6/7/23, Thomas Passin via Python-list <python-list at python.org> wrote:
>>
>> You have by now seen several responses, and the one most likely to be
>> helpful is to run pip with
>>
>> py -m pip
>
> That won't be of any help if pip isn't installed. By default, Python's
> installer attempts to install pip by running the ensurepip package,
> but sometimes it fails. It can help to try to manually run ensurepip
> in the shell. For example:
>
> py -m ensurepip --default-pip --upgrade --verbose
Yes, but why should anyone besides the OP think pip isn't installed? Let
him try py -m pip. If pip isn't installed he will see something like
C:\Users\tom\AppData\Local\Programs\Python\Python311\python.exe: No
module named pip
Then ensurepip should take care of it. Otherwise it's just that he
hasn't tried the one thing that will certainly work as expected if pip
is present.
More information about the Python-list
mailing list