-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Incorrect command is shown to upgrade pip3 #7376
Comments
This issue seems to be lingering from previous versions, since I have not seen the correct resolution anywhere. |
Right now it’s just hardcoded. pip/src/pip/_internal/self_outdated_check.py Lines 228 to 239 in 9ae2e64
Maybe we can use |
It would be kind of ugly, but we could unconditionally put |
pip3 install --upgrade pip |
A recent version of a windows system will have a binary akin to the But to solve the 2 or 3 problem, we might want to suffix the |
This is most definitely not true. There is close to no guarantee what Python is available (or any at all) when pip is invoked. I agree with @chrahunt on unconditionally showing |
macOS High Sierra Version 10.13.6 Terminal App
Description
At Python 3.8 fresh (1st time - only Python 2 was present prior) install, as well as after
pip3 list
command, the following incorrect message is displayed:Expected behavior
The correct message to be displayed should read:
(missing 3 after pip)
How to Reproduce
Get package from https://www.python.org/ftp/python/3.8.0/python-3.8.0-macosx10.9.pkg
Then run https://www.python.org/ftp/python/3.8.0/python-3.8.0-macosx10.9.pkg
The warning is displayed:
Then run
pip install --upgrade pip
as suggested by the warning.An error is displayed:
Then run
pip3 install --upgrade pip
as suggested by me above.Successful installation should commence, e.g.:
The text was updated successfully, but these errors were encountered: