Ubuntu16.04.2安装Tensorflow

安装aptitude

$ sudo apt-get install aptitude

安装python-pip python-dev

$ sudo aptitude install python-pip python-dev

安装TensorFlow

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

系统提示pip版本过低:

You are using pip version 8.1.1, however version 9.0.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
按照提示升级pip

$ pip install --upgrade pip

进入python环境,测试TensorFlow安装是否成功

安装成功。GPU配置先不做介绍。

 

posted @ 2017-03-15 16:41  xuxy03  阅读(352)  评论(0编辑  收藏  举报