Installing Tensorflow on Windows

Question left by Francisco on a Mammoth Interactive TensorFlow course

I cant figure out how to download Tensor on windows. I go to the link but cant see a button to download or anything?

To install Tensorflow we recommend the following steps from Tensorflow’s site:

  1. Follow the instructions on the Anaconda download site to download and install Anaconda.
  2. Create a conda environment named tensorflow by invoking the following command:
    C:> conda create -n tensorflow pip python=3.5
    
  3. Activate the conda environment by issuing the following command:
    C:> activate tensorflow
     (tensorflow)C:>  # Your prompt should change
    
  4. Issue the appropriate command to install TensorFlow inside your conda environment. To install the CPU-only version of TensorFlow, enter the following command:
    (tensorflow)C:> pip install --ignore-installed --upgrade tensorflow
    

    To install the GPU version of TensorFlow, enter the following command (on a single line):

    (tensorflow)C:> pip install --ignore-installed --upgrade tensorflow-gpu
    

Validate your TensorFlow installation

Start a terminal.

If you installed through Anaconda, activate your Anaconda environment.

Invoke python from your shell as follows:

$ python

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:

Hello, TensorFlow!

Want to learn TensorFlow? Get our course Hello Coding: Anyone Can Learn to Code

Mammoth Interactive Favicon

Why you NEED to take this course :

Get in Touch.

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.

EMAIL US

support@mammothinteractive.com