1、安装pip工具
sudo apt-get install python-dev python-pip
2、安装tensorflow
可以在官网中找到安装命令
www.tflearn.org
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
3、测试安装是否成功
>> python
>> import tensorflow as tf
>> print tf.__version__
输出tensorflow的版本号为1.3.0