2017-07-25 104 views
0

我試圖從源碼上安裝tensorflow在ubuntu 14.04,python 2.7上。 我遵循「tensorflow.org」的步驟來安裝源代碼。 我已完成所有步驟,例如bazel安裝,python依賴項安裝。 在sudo pip安裝的最後一步;命令如下: -張量流程的pip安裝錯誤

$sudo pip install /tmp/tensorflow_pkg/tensorflow-1.3.0rc0-cp27-none-linux_x86_64.whl 

,但我如下收到錯誤:

Unpacking /tmp/tensorflow_pkg/tensorflow-1.3.0rc0-cp27-none-linux_x86_64.whl 
Downloading/unpacking tensorflow-tensorboard (from tensorflow==1.3.0rc0) 
    Cannot fetch index base URL https://pypi.python.org/simple/ 
    Could not find any downloads that satisfy the requirement tensorflow-tensorboard (from tensorflow==1.3.0rc0) 
Cleaning up... 
No distributions at all found for tensorflow-tensorboard (from tensorflow==1.3.0rc0) 
Storing debug log for failure in /home/ubuntu/.pip/pip.log 

我還檢查tensorflow_pkg輪:但是上面的包不可用也。 因此,不同的.whl可以使用諸如-tensorflow-1.2.1-cp27-none-linux_x86_64.whl 等pip insted在其桌面上下載。

請告訴我如何解決此問題。

感謝和問候

回答

0

我的問題已通過以下步驟解決。

我更新了點使用 也導出代理設置。 例如導出https_proxy = ...

這能夠解決我的問題。

我也嘗試安裝tensorflow的其他.whl文件,並且可以使用下載的.whl文件安裝tensorflow。

謝謝

0

嘗試:

pip install tensorflow 

如果不工作:

sudo pip install --upgrade https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-1.2.1-cp27-none-linux_x86_64.whl 

More info hereCommon problems here

0

我沒有找出問題的根源,但什麼它的價值我通過安裝舊版本跳過tensorboard問題(1.2.0工作對我來說)

pip install https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-1.2.0-cp27-none-linux_x86_64.whl