Home Install TensorFlow on Windows

Install TensorFlow on Windows

Tensorflow installation steps on Windows using Anaconda:

  • Install Anaconda from the website (best to install 3.6 version).
  • Once installed, open terminal and check python version by running python -V. Should print Python 3.6.0.
  • Check pip version, run pip -V.
  • Run python -m pip install --upgrade tensorflow.
  • Run conda create -n tensorflow pip python=3.6.
  • Run activate tensorflow.
  • Run python -m pip install --ignore-installed --upgrade tensorflow
  • Restart terminal.
  • Run activate tensorflow.
  • Run python to invoke python shell.
  • Enter the short program:
      >>> import tensorflow as tf
      >>> hello = tf.constant('Hello, TensorFlow!')
      >>> sess = tf.Session()
      >>> print(sess.run(hello))
  • If it prints b’Hello, TensorFlow!’, then Tensorflow is installed sucessfully.

Reference: Tensorflow Windows Installation.

This post is licensed under CC BY 4.0 by the author.