微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

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)

 

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。

相关推荐