直接使用TensorFlow官网的pip安装方法
https://www.tensorflow.org/install/pip
非虚拟环境安装
pip3 install --user --upgrade tensorflow # install in $HOME
jupyter中验证安装效果
# Python
import tensorflow as tf
hello = tf.constant('Hello, TensorFlow!')
sess = tf.Session()
print(sess.run(hello))