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