If I were to ask to you to describe TensorFlow in just one or two words, what would you say?

Artificial Intelligence. That should sum it all nicely don’t you think so?

It’s what both you and I would answer most of the time when asked upon and don’t get me wrong, you are right.

TensorFlow is one of the many frameworks out there for you to learn more about Deep Learning Neural Networks which is just a small bit-part of Artificial Intelligence as a whole.

It is fairly a simple yet very effective framework for you to tinker with and I’ll get you started with Tensorflow with this quick and simple step-by-step guide. 🙂


So what is TensorFlow?

I have included a video for you, from none other than the creators of TensorFlow themselves.



Let’s jump right in. Also you wouldn’t be needing a Docker or any other virtual machines.



Before you go on..

Before you go on with the steps, make sure that your computer meets the requirements in order for TensorFlow to work on your computer.

The following are the necessary requirements:

  • TensorFlow only supports 64-bit Python 3.5.x or Python 3.6.x on Windows
  • When you download the Python 3.5.x version, it comes with the pip3 package manager (which is the program that you are going to need in order for you use to install TensorFlow on Windows)




How to Install TensorFlow on Windows: 7 Steps


Downloading your Python

So to get started, here’s how you can download the latest 64-bit Python 3.5.x if you have an older version or if you simply don’t have it. 🙂


Step 1:  Head over to Python 3.5.x from python.org


Step 2:  Go to the Downloads page and Select the 3.5.2 download.


Install TensorFlow on Windows



Step 3:  After that you will be brought to another page, where you will need to select either the x86-64 or amd64 installer.

The one I specifically recommend for now is the Windows x86-64 executable installer.


Step 4:  For the purpose of this article I’ll be choosing to Add Python 3.5 to PATH.


Step 5:  Now you should be able to see a message saying Setup was successful. A way to confirm that it has installed successfully is to open your Command Prompt and check the version. 🙂

Here’s an example.


Install TensorFlow on Windows


Sweet! Once you’re done with all that, you can now get onto installing TensorFlow with pip onto your Windows computer.



If you were wondering what is pip

pip, simply put, is a package management system that is used to install and manage software packages written in Python or in any other words. pip lets you search, download, install, uninstall, and manage 3rd party python packages (pip3 is the latest version which comes with the new Python 3.5.x version that you just had downloaded)


For the purpose of this guide I’ll be choosing to install the CPU-only version of TensorFlow, but if you want to download the GPU version by choosing a different  .whl file it’s up to you, but I’ll probably create another guide on that pretty soon for you. 🙂



Installing your TensorFlow

Now once you have downloaded the latest Python,  you can now put up your finishing touches by installing your TensorFlow.


Step 1:  To install TensorFlow, start a terminal.  Make sure that you run the cmd as an administrator.


If you do not know how to run your cmd as an administrator …

Here’s how you can run your cmd as an administrator:

Open up the Start menu, search for cmd and then right click on it and Run as an administrator.


Install TensorFlow on Windows



Step 2:  Once you’re done with that, now all you have to do is give just one simple little command for you to finish installing Tensorflow onto your Windows. 🙂

Just enter this command:

C:\> pip3 install --upgrade tensorflow


Done? Splendid! You’ll now notice to your top left hand corner with the command prompt saying ‘Administrator’ and that your installation completed successfully.



Testing your TensorFlow

It’s recommended that you try and test whether your new TensorFlow works smoothly without any such problems.

Here’s an example that you can write to test (you can write absolutely anything).


Install TensorFlow on Windows



Related Posts