新网创想网站建设,新征程启航

为企业提供网站建设、域名注册、服务器等服务

pipinstalldjango失败怎么办-创新互联

这篇文章给大家分享的是有关pip install django失败怎么办的内容。小编觉得挺实用的,因此分享给大家做个参考,一起跟随小编过来看看吧。

成都网站建设、网站制作过程中,需要针对客户的行业特点、产品特性、目标受众和市场情况进行定位分析,以确定网站的风格、色彩、版式、交互等方面的设计方向。成都创新互联公司还需要根据客户的需求进行功能模块的开发和设计,包括内容管理、前台展示、用户权限管理、数据统计和安全保护等功能。

使用pip安装Django时报错,先是:

C:\Users\admin>pip install django 
Collecting django 
 Retrying (Retry(total=4, connect=None, read=None, redirect=None)) after connection broken by 'ReadTimeoutError("HTTPSConnectionPool(host='pypi.python.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 'ProxyError('Cannot connect to proxy.', timeout('_ssl.c:733: The handshake operation timed out',))': /simple/django/ 
 Retrying (Retry(total=2, connect=None, read=None, redirect=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', timeout('timed out',))': /simple/django/

之后开始下载后没多少就直接报错退出了,可以用下面的方法换源下载:

pip install -i https://pypi.douban.com/simple django

下载速度很快,成功!

感谢各位的阅读!关于“pip install django失败怎么办”这篇文章就分享到这里了,希望以上内容可以对大家有一定的帮助,让大家可以学到更多知识,如果觉得文章不错,可以把它分享出去让更多的人看到吧!


文章题目:pipinstalldjango失败怎么办-创新互联
URL地址:http://www.wjwzjz.com/article/dpsscg.html
在线咨询
服务热线
服务热线:028-86922220
TOP