ubuntu14.04 tensorflowのインストールに失敗した解決方法

1850 ワード

1.
sudo apt-get install python-pip python-dev
user@user-VirtualBox:~$ sudo pip install tensorflow
Downloading/unpacking tensorflow
  Could not find any downloads that satisfy the requirement tensorflow
Cleaning up...
No distributions at all found for tensorflow
Storing debug log for failure in /home/user/.pip/pip.log

2.問題分析
stackoverflowで同類の問題を検索すると、pipのバージョンが低すぎると言われていますが、pipのバージョンを更新しようとしても成功しません.それはtensorflowを手動でインストールするしかありません.
3.問題解決
次のコマンドを入力するとtensorflowがインストールされます
sudo pip  install --upgrade https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-1.2.1-cp27-none-linux_x86_64.whl

参考資料:
1.https://stackoverflow.com/questions/41875915/install-tensorflow-on-ubuntu-14-04
2.https://github.com/tensorflow/tensorflow
3.https://www.tensorflow.org/install/install_linux
4.https://github.com/yao62995/tensorflow