您的位置:首页 > 编程语言 > Python开发

ubuntu14.04安装tensorflow失败的解决方法

2018-01-20 17:36 447 查看
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[/code] 
参考资料:

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
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  tensorflow python pip