public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: "Vinopal, John" <jvinopal@carnegielearning.com>
To: "cygwin@cygwin.com" <cygwin@cygwin.com>
Subject: python pip3 fails after first invocation
Date: Mon, 6 Mar 2023 22:35:53 +0000	[thread overview]
Message-ID: <BN8PR14MB3010267CE4414CB793C6F8DAB8B69@BN8PR14MB3010.namprd14.prod.outlook.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 2743 bytes --]

Windows 10 / Cygwin 3.4.6

Installed python 3.9: runs fine.  Ran pip3 -V: shows version.  Ran pip3 -V again: no output.

Something seems to happen when I run pip3 for the first time that breaks subsequent invocations.  Reinstallation yields the same results.  (Reinstallation also yields the following (perhaps unrelated) error).

Error in uninstall
running: C:\cygwin64\bin\bash.exe --norc --noprofile "/etc/preremove/python39-pip.sh"
abnormal exit: exit code=2

comp@130 ~/Downloads
$ python -V
Python 3.9.10

comp@130 ~/Downloads
$ pip3 -V
pip 21.3.1 from /usr/lib/python3.9/site-packages/pip (python 3.9)

comp@130 ~/Downloads
$ pip3 -V

comp@130 ~/Downloads
$ pip3 -V

OR WITH PIP LIST SAME PROBLEM

jvinopal@130 ~/Downloads
$ 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

comp@130 ~/Downloads
$ pip -V
pip 23.0.1 from /usr/local/lib/python3.9/site-packages/pip (python 3.9)

comp@130 ~/Downloads
$ pip -V

comp@130 ~/Downloads



John 
Vinopal (he/him)
Principal Software Engineer
e:jvinopal@carnegielearning.com
carnegielearning.com
scilearn.com
zorbitsmath.com
 Shaping the Future of Learning

This email message, including any attachments hereto or documents accessed via links contained herein, is intended only for use by the addressee(s) named herein and may contain legally privileged and/or confidential information. If you are not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this email message, any attachments hereto or documents accessed via links contained herein, is strictly prohibited. If you have received this email message in error, please immediately notify the sender and permanently delete the original and any copies of this email.

             reply	other threads:[~2023-03-06 22:36 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-06 22:35 Vinopal, John [this message]
2023-03-06 22:48 ` Marco Atzeri

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=BN8PR14MB3010267CE4414CB793C6F8DAB8B69@BN8PR14MB3010.namprd14.prod.outlook.com \
    --to=jvinopal@carnegielearning.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).