-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Upgrade deletes pip #9527
Copy link
Copy link
Closed
Description
Environment
- pip version: 20.3.3
- Python version: 3.9 x64
- OS: Windows 10 x64
- Chocolatey distributive
Description
>pip list
...
WARNING: You are using pip version 20.3.3; however, version 21.0 is available.
You should consider upgrading via the 'c:\python39\python.exe -m pip install --upgrade pip' command.
>py -m pip install --upgrade pip
Requirement already satisfied: pip in c:\python39\lib\site-packages (20.3.3)
Collecting pip
Downloading pip-21.0-py3-none-any.whl (1.5 MB)
Installing collected packages: pip
Attempting uninstall: pip
Found existing installation: pip 20.3.3
Uninstalling pip-20.3.3:
ERROR: Could not install packages due to an EnvironmentError: [WinError 5] �������� � �������: 'c:\\python39\\scripts\\pip.exe'
Consider using the `--user` option or check the permissions.
>pip
C:\Python39\python.exe: No module named pip
Guys how much more years you need to fix that sequence of upgrade????
Remember: firstly install then delete.
Fix
Run from admin console or install python not to system disk or use sudo (e.g. gsudo.exe).
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels