1.下载anaconda
anaconda下载地址:https://repo.anaconda.com/archive/
2.打开anaconda图形化界面
3.创建一个新的python环境
4.找到tensorflow并安装
5.同理安装matplotlib
6.安装spyder用于编程
7.打开并测试代码
测试代码如下
import tensorflow as tf
hello = tf.constant("hello cbyer space")
sess = tf.Sesstion()
print(sess.run(hello))