- 在 Anaconda Prompt 窗口输入:conda create -n tensorflow python=3.5
- 激活:activate tensorflow
- 安装CPU版本:pip install --upgrade --ignore-installed tensorflow
- 测试是否安装成功:
import tensorflow as tf
hello = tf.constant('Hello, TensorFlow!')
sess = tf.Session()
print(sess.run(hello))