Hey there! Want to install Tensorflow on your Windows machine? No worries, I've got you covered! Just follow the steps mentioned below.
First things first, head over to the Anaconda website and install version 3.6. Once you've done that, open the terminal and check your python version by running
python -V. It should print out Python 3.6.0.
Next up, check your pip version by running
If everything looks good, run
python -m pip install --upgrade tensorflow.
Then, create a new environment by running
conda create -n tensorflow pip python=3.6 and activate it by running
Now for the fun part: run
python -m pip install --ignore-installed --upgrade tensorflow, restart your terminal, and then reactivate the tensorflow environment by running
python to get into the python shell, and enter the following short program:
>>> import tensorflow as tf >>> hello = tf.constant('Hello, TensorFlow!') >>> sess = tf.Session() >>> print(sess.run(hello))
If it prints out b'Hello, TensorFlow!', then congratulations, you've successfully installed Tensorflow!
If you're looking for more information, you can check out the Tensorflow Windows Installation reference. Good luck!