Really every machine has his temper, follow the online tutorial constantly error ..... has been in the online tutorial, find solutions, finally, or installed 1 according to Anaconda3 here no longer write, mainly in accordance with TensorFlow 2 open the terminal, replace the source (faster) Input Conda config--add channels https:// Mirrors. Tuna. Tsinghua. edu. cn/anaconda/pkgs/main/
Conda config--add channels https://mirrors. Tuna Tsinghua. edu. cn/anaconda/pkgs/free/
Conda config--set show_channel_urls Yes 3 create an environment named Flappbird (you can change to your own, then it is a tutorial on the web installed, generally named TensorFlow) Conda Create -N Flappbird python = 3.6
4 activating environment Source Activate Flappbird 5 installation tensorflow Conda install-n flappbird-c https://conda.anaconda.org/jjhelmus Tensorflo W 6 re-open the terminal activation environment
SOURCE Activate Flappbird 7 into the Python environment
8 input import TensorFlow as TF
Hello = tf.constant (' Hello, tensorflow! ')
Sess = tf. Session ()
Print (Sess.run (hello)) succeeded