亚洲乱码中文字幕综合,中国熟女仑乱hd,亚洲精品乱拍国产一区二区三区,一本大道卡一卡二卡三乱码全集资源,又粗又黄又硬又爽的免费视频

基于pip install django失敗時的解決方法

 更新時間:2018年06月12日 14:45:56   作者:言十六  
今天小編就為大家分享一篇基于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失敗時的解決方法就是小編分享給大家的全部內(nèi)容了,希望能給大家一個參考,也希望大家多多支持腳本之家。

相關(guān)文章

最新評論