pip更新报错问题

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)

 

相关文章

显卡天梯图2024最新版,显卡是电脑进行图形处理的重要设备,...
初始化电脑时出现问题怎么办,可以使用win系统的安装介质,连...
todesk远程开机怎么设置,两台电脑要在同一局域网内,然后需...
油猴谷歌插件怎么安装,可以通过谷歌应用商店进行安装,需要...
虚拟内存这个名词想必很多人都听说过,我们在使用电脑的时候...