前提条件:已经成功按装了anaconda
1,双击:Anaconda Prompt
2,创建名为“tf”的虚拟环境:conda create --name tf python=3.6
3,激活tensflow的tf环境: activate tf
4,pip install --upgrade --ignore-installed tensorflow
5,验证是否安装成功:
1)python
2)
import tensorflow as tf
hello = tf.constant('hello,tf')
sess = tf.Session()
print(sess.run(hello))
6,安装其他包:
activate tf
conda install scikit-learn
conda install numpy
conda install ...