In [ ]:
Tensorflow is a multiple terminals, and Jiaxuan Li's book maily introduceds the version on Mac. For more details, we can refer to the official webpage of tersorflow.
Li's book recommends to instaill "virtualenv". This is a sand box.
As for myself, conda is my favoriate environment. Hence, I prefer installing tensorflow by the commands of conda. The details can be found here.
In [ ]:
conda create -n tensorflow1.3
source activate tensorflow1.3
pip install --ignore-installed --upgrade \
https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-1.3.0-cp34-cp34m-linux_x86_64.whl
#more details can be found https://www.tensorflow.org/install/install_linux#installing_with_anaconda