码迷,mamicode.com
首页 > 编程语言 > 详细

安装第三方库openpyxl时,报错:You are using pip version 19.0.3, however version 20.2b1 is available. You should consider upgrading via the 'python -m pip install --upgrade pip' command.

时间:2020-06-26 14:22:22      阅读:92      评论:0      收藏:0      [点我收藏+]

标签:镜像   img   and   lazy   sim   解决办法   code   openpyxl   python   

昨晚在安装第三方库openpyxl时,执行pip install openpyxl后,报错:You are using pip version 19.0.3, however version 20.2b1 is available. You should consider upgrading via the ‘python -m pip install --upgrade pip‘ command.  意思是:您正在使用的pip版本是19.0.3,但是20.2b1是可用的。您应该考虑通过“python-m pip install--upgrade pip”命令进行升级。

技术图片

 

 解决办法:对pip进行升级,用国内镜像进行下载比较快,我用的是:https://pypi.douban.com/simple/

执行:python -m pip install --upgrade pip -i https://pypi.douban.com/simple

技术图片

 

 查看pip版本:pip --version

技术图片

再次安装openpyxl后,安装成功

执行:pip install openpyxl

技术图片

 

安装第三方库openpyxl时,报错:You are using pip version 19.0.3, however version 20.2b1 is available. You should consider upgrading via the 'python -m pip install --upgrade pip' command.

标签:镜像   img   and   lazy   sim   解决办法   code   openpyxl   python   

原文地址:https://www.cnblogs.com/00log/p/13194571.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!