1.首先在windows下安装好Bash的环境。可参与如下链接:
https://my.oschina.net/u/561917/blog/827160
2.安装pip
#python2apt-get install python-pip#python3apt-get install python3-pip
3.安装tensorflow
# Python 2$ pip install --upgrade https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-0.12.1-cp27-none-linux_x86_64.whl# Python 3$ pip3 install --upgrade https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-0.12.1-cp34-cp34m-linux_x86_64.whl
4. 运行tensorflow
$ python3>>> import tensorflow as tf>>> hello = tf.constant('Hello, TensorFlow!')>>> sess = tf.Session()>>> print(sess.run(hello))Hello, TensorFlow!
至此,tensorflow已经在windows下可用了。