pip更新错误如下:
WARNING: You are using pip version 20.1.1; however, version 20.2 is available. You should consider upgrading via the 'd:python3.7anaconda3python.exe -m pip install --upgrade pip' command.
解决办法:
python -m pip install --upgrade pip
如下
C:Usershaiy λ python -m pip install --upgrade pip Collecting pip Downloading pip-20.2.1-py2.py3-none-any.whl (1.5 MB) |████████████████████████████████| 1.5 MB 30 kB/s Installing collected packages: pip Attempting uninstall: pip Found existing installation: pip 20.1.1 Uninstalling pip-20.1.1: Successfully uninstalled pip-20.1.1 Successfully installed pip-20.2.1
20.1.1更新20.2.1成功
C:Usershaiy λ pip --version pip 20.2.1 from e:python37libsite-packagespip (python 3.7)