pip更新错误如下:
WARNING: You are using pip version 20.1.1; however,version 20.2 is available. You should consider upgrading via the 'd:\python3.7\anaconda3\python.exe -m pip install --upgrade pip' command.
解决办法:
python -m pip install --upgrade pip
如下
C:\Users\haiy λ 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 1 Uninstalling pip-: Successfully uninstalled pip- Successfully installed pip-1
20.1.1更新20.2.1成功
C:\Users\haiy λ pip --version pip 1 from e:\python37\lib\site-packages\pip (python 3.7)