Python pip upgrade and upgrade failure solutions
This tutorial is used for Python pip upgrade and failure solution
First look at the script
pip show pip
I have upgraded to the latest version
If the following prompt appears during the installation of other modules, it means that you need to upgrade pip
You are using pip version 18.1.1, however version 19.0.1 is available.
Your version is 18.1.1 and needs to be upgraded to 19.0.1
You should consider upgrading via the 'python -m pip install --upgrade pip' comm
This sentence means to remind you to use: python -m pip install --upgrade pip to upgrade, just copy it
When Success appears below, congratulations on successful installation.
See here for those who failed:
If it fails, you can first try to replace the upgrade instructions, for example:
python -m pip install -U --force-reinstall pip
python -m pip install --upgrade pip
If it still fails, I will tell you an ultimate solution, provided that someone around you has successfully upgraded pip.
That's right, it's the file that was copied and pasted successfully. Don't ask me how I know, that's how I succeeded.
pip file path: C:\python\Lib\site-packages\pip-19.2.1.dist-info
Original link: https://www.cnblogs.com/ihacker/p/11294868.html
Okay, if you have any questions you don’t understand, you can follow my personal WeChat official account and communicate with me.