“You are using pip version 19.0.3, however version 20.0.2 is available. You should ...”报错,解决办法
程序员文章站
2022-07-04 21:02:08
...
“You are using pip version 19.0.3, however version 20.0.2 is available. You should …”
报错:
**原因:**因为服务器连接超时,使用下方代码即可解决(因为pip源在国外,所以连起来比较慢,可以改用国内的源)
解决办法:
使用国内的源下载:
python -m pip install --upgrade pip -i https://pypi.douban.com/simple
pip更新成功。查看其版本pip --version
参考:https://www.cnblogs.com/helloLuoLuo/p/12468732.html && “https://uzshare.com/view/818532”