2017-05-04 39 views
0

我triying安裝Tensorflow安裝Tensorflow,我也得到了以下內容:ConnectTimeoutError在Windows

C:\>pip3 install --upgrade tensorflow 
    Collecting tensorflow 
     Retrying (Retry(total=4, connect=None, read=None, redirect=None)) after connection broken by 
ConnectTimeoutError(<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x00000240DAD78BA8>, 'Connection to pypi.python.org timed out. (connect timeout=15)')': /simple/tensorflow/ 

我也試着安裝下載在GitHub的倉庫中.whl,我也得到了同一種錯誤:

C:\>pip3 install tensorflow-1.1.0-cp35-cp35m-win_amd64.whl 
Processing c:\tensorflow-1.1.0-cp35-cp35m-win_amd64.whl 
Collecting bleach==1.5.0 (from tensorflow==1.1.0) 
    Retrying (Retry(total=4, connect=None, read=None, redirect=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x000001FEE571BCC0>, 'Connection to pypi.python.org timed out. (connect timeout=15)')': /simple/bleach/ 

我的電腦連接到我的大學網絡,需要HTTP代理配置。這可能是問題嗎?我怎麼修復它?

回答