pip时出现 (Retry(total=4, connect=None, read=None, redirect=None))

Retrying (Retry(total=4, connect=None, read=None, redirect=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x03AC62F0>, 'Connection to pypi.python.org timed out. (connect timeout=15)')': /simple/django/

使用其他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/

例如

 

posted @ 2020-05-07 16:45  sugoi  阅读(239)  评论(0)    收藏  举报