首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >pip install django-import-export读取超时

pip install django-import-export读取超时
EN

Stack Overflow用户
提问于 2018-09-06 11:57:13
回答 2查看 396关注 0票数 0

我正在尝试使用django-import-export将excel文件填充到我的模型中。但是,当我执行pip install django-import-export时,我得到以下错误

代码语言:javascript
复制
C:\Users\Billy Somers\webapps>pip install django-import-export
Collecting django-import-export
Retrying (Retry(total=4, connect=None, read=None, redirect=None, 
status=None)) after connection broken by 
ReadTimeoutError("HTTPSConnectionPool(host='pypi.org', port=443): Read timed 
out. (read timeout=15)")': /simple/django-import-export/
Retrying (Retry(total=3, connect=None, read=None, redirect=None, 
status=None))
after connection broken by 
'ReadTimeoutError("HTTPSConnectionPool(host='pypi.org', port=443): Read 
timed out. (read timeout=15)")': /simple/django-import-export/
Retrying (Retry(total=2, connect=None, read=None, redirect=None, 
status=None))
after connection broken by 
'ReadTimeoutError("HTTPSConnectionPool(host='pypi.org', port=443): Read 
timed out. (read timeout=15)")': /simple/django-import-export/
Retrying (Retry(total=1, connect=None, read=None, redirect=None, 
status=None))
after connection broken by 
'ReadTimeoutError("HTTPSConnectionPool(host='pypi.org', port=443): Read 
timed out. (read timeout=15)")': /simple/django-import-export/
Retrying (Retry(total=0, connect=None, read=None, redirect=None, 
status=None))
after connection broken by 
'ReadTimeoutError("HTTPSConnectionPool(host='pypi.org', port=443): Read 
timed out. (read timeout=15)")': /simple/django-import-export/
Could not find a version that satisfies the requirement django-import-export 
(from versions: )
No matching distribution found for django-import-export

我该如何解决这个问题?

EN

回答 2

Stack Overflow用户

发布于 2018-09-06 12:01:59

这可能是由于互联网连接状况不佳造成的。也许您可以通过使用VPN来修复此问题。

票数 0
EN

Stack Overflow用户

发布于 2018-09-06 12:02:47

检查是否能够通过https从浏览器访问pypi.org。还要检查是否有端口在您的防火墙级别上被阻止。

如果这不起作用,升级pip版本,然后尝试安装。一定要在pypi上检查这个发行版是否存在。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/52196302

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档