pip3 install django 报错
来源:3-36 Uwsgi反向代理模式
![](http://img1.sycdn.imooc.com/user/533e4c3300019caf02000200-100-100.jpg)
abc145489831
2018-10-17
在按照老师3-36 Uwsgi反向代理模式 视频中的步骤里,执行pip3 install django 命令时,报如下错误:
Retrying (Retry(total=4, connect=None, read=None, redirect=None)) after connection broken by ‘ReadTimeoutError(“HTTPSConnectionPool(host=‘pypi.org’, port=443): Read timed out. (read timeout=15)”,)’: /simple/django/
Retrying (Retry(total=3, connect=None, read=None, redirect=None)) after connection broken by ‘ReadTimeoutError(“HTTPSConnectionPool(host=‘pypi.org’, port=443): Read timed out. (read timeout=15)”,)’: /simple/django/
Retrying (Retry(total=2, connect=None, read=None, redirect=None)) after connection broken by ‘ReadTimeoutError(“HTTPSConnectionPool(host=‘pypi.org’, port=443): Read timed out. (read timeout=15)”,)’: /simple/django/
Retrying (Retry(total=1, connect=None, read=None, redirect=None)) after connection broken by ‘ReadTimeoutError(“HTTPSConnectionPool(host=‘pypi.org’, port=443): Read timed out. (read timeout=15)”,)’: /simple/django/
Retrying (Retry(total=0, connect=None, read=None, redirect=None)) after connection broken by ‘ReadTimeoutError(“HTTPSConnectionPool(host=‘pypi.org’, port=443): Read timed out. (read timeout=15)”,)’: /simple/django/
Could not find a version that satisfies the requirement django (from versions: )
No matching distribution found for django
这个报错要怎样解决啊?
2回答
-
dear人格
2018-10-18
pip3 install django -i https://mirrors.aliyun.com/pypi/simple
pip3 install uwsgi -i https://mirrors.aliyun.com/pypi/simple
00 -
dear人格
2018-10-18
网咯问题,多试几次
00
相似问题