您的位置:首页 > 其它

tensorflow

2016-05-31 10:14 316 查看

Google Tensorflow 安装

环境准备

centos 7.0 以上, 不然会报不受支持的系统

安装centos 7.0 64位 最小版

-

配置好 yum

python 要在2.7 以上 centos 7.0 默认已经自带了pytnon

[root@localhost ~]# rpm -q python
python-2.7.5-34.el7.x86_64


安装 pip (pip 是python 的包管理器类似 centos 的 yum )

pip is already installed if you’re using Python 2 >=2.7.9 or Python 3 >=3.4

To install pip, securely download get-pip.py.

Then run the following:

wget https://bootstrap.pypa.io/get-pip.py python get-pip.py


安装 tensor flow 0.8

pip install --upgrade https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-0.8.0-cp27-none-linux_x86_64.whl


tensorflow 安装完毕

Successfully installed numpy-1.11.0 protobuf-3.0.0b2 six-1.10.0 tensorflow-0.8.0
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: