To install Tensorflow we recommend the following steps from Tensorflow's site:
C:> conda create -n tensorflow pip python=3.5
C:> activate tensorflow (tensorflow)C:> # Your prompt should change
(tensorflow)C:> pip install --ignore-installed --upgrade tensorflowTo install the GPU version of TensorFlow, enter the following command (on a single line):
(tensorflow)C:> pip install --ignore-installed --upgrade tensorflow-gpu
Start a terminal.
If you installed through Anaconda, activate your Anaconda environment.
Invoke python from your shell as follows:
Enter the following short program inside the python interactive shell:
>>> import tensorflow as tf>>> hello = tf.constant('Hello, TensorFlow!')>>> sess = tf.Session()>>> print(sess.run(hello))
If the system outputs the following, then you are ready to begin writing TensorFlow programs: