1、安裝Python,設定環境變數
下載地址:https://www.python.org/downloads/windows/ 2、下載安裝pip
下載地址:https://pypi.python.org/pypi/pip 3、注意:NVD顯卡支援GPU加速de需要安裝CUDA和cuDNN;
推薦文章:http://blog.csdn.net/duwangthefirst/article/details/79078306 4、下載TensorFlow
下載地址:https://pypi.python.org/pypi/tensorflow#downloads
error:failed to create process.
python -m pip install tensorflow-1.6.0rc1-cp36-cp36m-win_amd64.whl
等一會兒,提示安裝完成。
Downloading Werkzeug-0.14.1-py2.py3-none-any.whl (322kB)
100% |████████████████████████████████| 327kB 98kB/s
Installing collected packages: termcolor, numpy, six, absl-py, wheel, gast, protobuf, grpcio, astor, html5lib, markdown, bleach, werkzeug, tensorboard, tensorflow
Running setup.py install for termcolor ... done
Running setup.py install for absl-py ... done
Running setup.py install for gast ... done
Running setup.py install for html5lib ... done
Successfully installed absl-py-0.1.10 astor-0.6.2 bleach-1.5.0 gast-0.2.0 grpcio-1.9.1 html5lib-0.9999999 markdown-2.6.11 numpy-1.14.1 protobuf-3.5.1 six-1.11.0 tensorboard-1.6.0 tensorflow-1.6.0rc1 termcolor-1.1.0 werkzeug-0.14.1 wheel-0.30.0 5、pyhton終端驗證安裝:
>>> import tensorflow as tf
>>> hello = tf.constant('Hello, TensorFlow!')
>>> sess = tf.Session()
>>> print(sess.run(hello))
b'Hello, TensorFlow!'
參考文章:《Windows下tensorflow安裝 win64+Python3.5》
http://blog.csdn.net/btbujhj/article/details/73127753