美文网首页
pip安装包出现Retrying (Retry(total=4,

pip安装包出现Retrying (Retry(total=4,

作者: 拾柒丶_8257 | 来源:发表于2019-11-24 12:22 被阅读0次

问题:

安装包出现
Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProxyError


image.png
pip install pymysql -i url( 其他pip源)

国内几个pip源如下:

阿里云 http://mirrors.aliyun.com/pypi/simple/

中国科技大学 https://pypi.mirrors.ustc.edu.cn/simple/

豆瓣(douban) http://pypi.douban.com/simple/

清华大学 https://pypi.tuna.tsinghua.edu.cn/simple/

中国科学技术大学 http://pypi.mirrors.ustc.edu.cn/simple/

例:安装pymysql

pip install pymysql - i https://pypi.tuna.tsinghua.edu.cn/simple/

结果如下:

image.png

相关文章

网友评论

      本文标题:pip安装包出现Retrying (Retry(total=4,

      本文链接:https://www.haomeiwen.com/subject/wsrlwctx.html