On 06.03.2023 23:35, Vinopal, John via Cygwin wrote:
Windows 10 / Cygwin 3.4.6
Installed python 3.9: runs fine. Ran pip3 -V: shows version. Ran pip3 -V
again: no output.
I can not confirm
$ pip3 -V
pip 21.3.1 from /usr/lib/python3.9/site-packages/pip (python 3.9)
$ pip3 -V
pip 21.3.1 from /usr/lib/python3.9/site-packages/pip (python 3.9)
what happens if you use pip3.9 ? (see below)
$ pip3 list
Package Version
---------- -------
pip 21.3.1
setuptools 59.5.0
WARNING: You are using pip version 21.3.1; however, version 23.0.1 is available.
You should consider upgrading via the '/usr/bin/python3.9.exe -m pip install
--upgrade pip' command.
comp@130 ~/Downloads
$ pip3 list
comp@130 ~/Downloads
OR WITH MANUAL INSTALL SAME PROBLEM
comp@130 ~/Downloads
$ /usr/bin/python3.9.exe -m pip install --upgrade pip
Requirement already satisfied: pip in /usr/lib/python3.9/site-packages (21.3.1)
Collecting pip
Downloading pip-23.0.1-py3-none-any.whl (2.1 MB)
|████████████████████████████████| 2.1 MB 3.3 MB/s
Installing collected packages: pip
Attempting uninstall: pip
Found existing installation: pip 21.3.1
Uninstalling pip-21.3.1:
Successfully uninstalled pip-21.3.1
Successfully installed pip-23.0.1
comp@130 ~/Downloads
$ pip3 -V
-bash: /usr/bin/pip3: No such file or directory
that is probably caused by the installation that overlap
previous package
pip3 is a link managed by alternatives
$ ls -l /usr/bin/pip*
lrwxrwxrwx 1 Marco Benutzer 22 Aug 22 2020 /usr/bin/pip3 ->
/etc/alternatives/pip3
-rwxrwxr-x 1 Marco Kein 223 Jan 12 2022 /usr/bin/pip3.6
-rwxrwxr-x 1 Marco Kein 223 Jan 12 2022 /usr/bin/pip3.7
-rwxrwxr-x 1 Marco Kein 223 Jan 12 2022 /usr/bin/pip3.8
-rwxrwxr-x 1 Marco Kein 223 Jan 12 2022 /usr/bin/pip3.9
$ alternatives --display pip3
pip3 - status is auto.
link currently points to /usr/bin/pip3.9
/usr/bin/pip3.6 - priority 36
/usr/bin/pip3.8 - priority 38
/usr/bin/pip3.7 - priority 37
/usr/bin/pip3.9 - priority 39
Current `best' version is /usr/bin/pip3.9.
John
--
Problem reports: https://cygwin.com/problems.html
FAQ: https://cygwin.com/faq/
Documentation: https://cygwin.com/docs.html
Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple