Tensorflow1.13.1版本已经正式发布,现在Python3.7直接安装Tensorflow即可。
pip install tensorflow
pip install tensorflow
一段时间之后即可安装完成!!
Successfully installed tensorflow-1.13.1
接下来测试一下吧
-
import tensorflow
as tf
-
hello = tf.constant(
'Hello, TensorFlow!')
-
sess = tf.Session()
-
print(sess.run(hello))
b'Hello, TensorFlow!'
成功!开始一起学习吧!