pip3 install django 报错

来源:3-36 Uwsgi反向代理模式

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


0
0

dear人格

2018-10-18

网咯问题,多试几次


0
0

Nginx入门到实践-Nginx中间件应用+搭建Webserver架构

中间件、负载均衡、应用层安全防护、动静分离、Nginx+LUA开发等

4183 学习 · 908 问题

查看课程