2015-11-05 17 views
0

我無法使用PIP,每次我嘗試我在下面得到這個錯誤,任何人都可以告訴我要繼續致謝。點提出錯誤重試

Retrying (Retry(total=1, connect=None, read=None, redirect=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x7fca90faf950>, 'Connection to 172.82.151.137 timed out. (connect timeout=15)')': /simple/pip/ 

回答

0

這個問題是由代理引起我設置如下圖所示

export http_proxy='172.82.151.137:8800' 
export https_proxy='172.82.151.137:8800' 

刪除此解決了這個問題,因爲環境變量。