Problems with python3 pip

Marco Atzeri marco.atzeri@gmail.com
Mon Mar 28 17:09:57 GMT 2022


On 28.03.2022 15:36, Chad Dougherty wrote:
> It seems to me like the ensurepip module has some problems.  Shouldn't 
> the following be working?
> 
> $ cygcheck -c -d|grep python3
> python3                  3.9.10-1
> python3-devel            3.9.10-1
> python39                 3.9.10-1
> python39-devel           3.9.10-1
> python39-pip             21.3.1-3
> python39-setuptools      59.5.0-1
> $ type python3.9
> python3.9 is hashed (/usr/bin/python3.9)
> $ type pip3.9
> pip3.9 is hashed (/usr/bin/pip3.9)
> $ pip3.9 --version
> pip 21.3.1 from /usr/lib/python3.9/site-packages/pip (python 3.9)
> $ pip3.9 list
> Package    Version
> ---------- -------
> pip        21.3.1
> setuptools 59.5.0
> WARNING: You are using pip version 21.3.1; however, version 22.0.4 is 
> available.
> You should consider upgrading via the '/usr/bin/python3.9.exe -m pip 
> install --upgrade pip' command.
> 
> $ python3.9 -m ensurepip
> Traceback (most recent call last):

I have

$ python3 -m ensurepip
Looking in links: /tmp/tmpz60eg7ec
Requirement already satisfied: setuptools in 
/usr/lib/python3.9/site-packages (59.5.0)
Requirement already satisfied: pip in /usr/lib/python3.9/site-packages 
(21.3.1)



More information about the Cygwin mailing list