tensorflow

来源:互联网 发布:程序员 武汉 杭州 编辑:程序博客网 时间:2024/05/20 00:37

Google Tensorflow 安装

环境准备

  • centos 7.0 以上, 不然会报不受支持的系统
  • 安装centos 7.0 64位 最小版
    -
  • 配置好 yum
  • python 要在2.7 以上 centos 7.0 默认已经自带了pytnon
[root@localhost ~]# rpm -q pythonpython-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.pypython 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
0 0
原创粉丝点击