ubuntu安装TensorFlow
wget https://bootstrap.pypa.io/get-pip.py
sudo python get-pip.py
安装下面几个包
pip install pyopenssl ndg-httpsclient pyasn1
如果还有问题,再安装下面的包
sudo apt-get install libffi-dev libssl-dev
sudo pip install
安装Tensorflow
https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-0.8.0-cp27-none-linux_x86_64.whl
测试代码
$ python
>>>import tensorflow as tf
>>>hello=tf.constant('hello,tensorFlow')
>>>sess=tf.run(hello)
>>>a=tf.constant(10)
>>>b=tf.constant(32)
>>>print sess.run(a+b)
tensorflow中文网站
http://wiki.jikexueyuan.com/project/tensorflow-zh/