Ubuntu系统tensorflow安装问题及解决

Posted on 2018-04-18 08:45  zhenshj  阅读(173)  评论(0)    收藏  举报

su root   ps:如果你没有改过root密码,sudo passwd 然后输入你的账户密码,然后设置你的root密码

在root权限下执行pip install --upgrade pip

更新好了后ctrl+d退出root权限,输入

export TF_BINARY_URL=https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-1.3.0-cp27-none-linux_x86_64.whl

然后输入

sudo pip install $TF_BINARY_URL

(具体链接:https://www.icourse163.org/learn/PKU-1002536002?tid=1002700003#/learn/forumdetail?pid=1005052698)

博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3