From: Marco Atzeri <marco.atzeri@gmail.com>
To: cygwin@cygwin.com
Subject: Re: python pip3 fails after first invocation
Date: Mon, 6 Mar 2023 23:48:34 +0100 [thread overview]
Message-ID: <8112722f-c380-bf97-bf08-22ad5b00457a@gmail.com> (raw)
In-Reply-To: <BN8PR14MB3010267CE4414CB793C6F8DAB8B69@BN8PR14MB3010.namprd14.prod.outlook.com>
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
prev parent reply other threads:[~2023-03-06 22:48 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-03-06 22:35 Vinopal, John
2023-03-06 22:48 ` Marco Atzeri [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8112722f-c380-bf97-bf08-22ad5b00457a@gmail.com \
--to=marco.atzeri@gmail.com \
--cc=cygwin@cygwin.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).