我目前正在嘗試安裝tensorflow和Python 3.5,並且我正在運行一個新的連接錯誤。我正在嘗試遵循tensorflow的安裝指南。有沒有人看過這個問題,並找出解決方案?謝謝。嘗試在Windows 10上使用python 3.5安裝Tensorflow時出現NewConnectionError
c:\>pip3 install --upgrade tensorflow
Collecting tensorflow
Retrying (Retry(total=4, connect=None, read=None, redirect=None)) after connection broken by 'NewConnectionError('<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x000002245E6C30F0>: Failed to establish a new connection: [WinError 10061] No connection could be made because the target machine actively refused it',)': /simple/tensorflow/
Retrying (Retry(total=3, connect=None, read=None, redirect=None)) after connection broken by 'NewConnectionError('<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x000002245E6D0470>: Failed to establish a new connection: [WinError 10061] No connection could be made because the target machine actively refused it',)': /simple/tensorflow/
Retrying (Retry(total=2, connect=None, read=None, redirect=None)) after connection broken by 'NewConnectionError('<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x000002245E6D05C0>: Failed to establish a new connection: [WinError 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond',)': /simple/tensorflow/
Retrying (Retry(total=1, connect=None, read=None, redirect=None)) after connection broken by 'NewConnectionError('<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x000002245E6D0710>: Failed to establish a new connection: [WinError 10061] No connection could be made because the target machine actively refused it',)': /simple/tensorflow/
Retrying (Retry(total=0, connect=None, read=None, redirect=None)) after connection broken by 'NewConnectionError('<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x000002245E6D0860>: Failed to establish a new connection: [WinError 10061] No connection could be made because the target machine actively refused it',)': /simple/tensorflow/
Could not find a version that satisfies the requirement tensorflow (from versions:)
No matching distribution found for tensorflow
我會認爲這是網絡問題的臨時性問題,您是否嘗試過從另一臺計算機上做同樣的事情? –
我有類似的問題,並通過使用包含所有科學軟件包的英特爾版本的Python 3.5來解決它。安裝完成後,你可以簡單地執行'pip install tensorflow'或'pip install tensorflow-gpu',它可能會工作 –
@OferSadan我目前還不能在另一臺機器上嘗試。我計劃嘗試另一臺機器,甚至在我能夠時聯網。 –