无法安装TensorFlow Python依赖项

时间:2017-10-07 06:24:12

标签: python linux tensorflow tensorflow-gpu

我按照Tensorflow网站上提到的说明从源代码安装tensorFlow。当我使用命令credentials:'include'安装TensorFlow Python依赖项时,它给了我这个错误

sudo yum install python3-numpy python3-dev python3-pip python3-wheel

我使用命令 Loaded plugins: fastestmirror, langpacks Loading mirror speeds from cached hostfile * base: mirror.ventraip.net.au * epel: epel.mirror.digitalpacific.com.au * extras: mirror.ventraip.net.au * updates: mirror.intergrid.com.au No package python3-numpy available. No package python3-dev available. No package python3-pip available. No package python3-wheel available. Error: Nothing to do 检查了python版本,它显示了Python 3.6.1 :: Anaconda 4.4.0(64位)`,我的操作系统是CentOS Linux 7(Core)。我是Linux和Tensorflow的新手。

谢谢

1 个答案:

答案 0 :(得分:0)

尝试这些说明 https://edwards.sdsu.edu/research/installing-python3-4-and-the-scipy-stack-on-centos/

或者您可以使用pip3安装pip3并安装所有依赖项

sudo apt-get install python3-pip
sudo pip3 install numpy