Closed
Description
Environment
- pip version: latest from Python.org as of 2020-0520-1850
- Python version: 3.8.3
- OS:Windows 10
Description
- Download the latest version of python (together with pip) from python.org.
- update pip in cmd with "pip install pip -U"
- pip downloads the latest pip (ver 20.1?), then starts uninstalling my local pip(successful), and tries to install the just-downloaded version. Oops! no permission! Then I open up another cmd window with admin permission, and run "pip install pip -U". No! Because "No module named 'pip'".
Expected behavior
When uninstalling pip, temporarily stores the old pip to a temp folder maybe. If the installing of the newer version is successful, delete the temp file; if not, roll back and reinstall the original version.
How to Reproduce
Follow the above.