直接使用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))