Recently during a talk on Machine Learning, Someone asked me this question: He was unable to install tensorflo on his computer running windows using pip and was continuously getting this error.

Upon further investigation, I could find that this is a common problem which people face when they are starting to use tensorflow, hence writing a blog about it. Hope it helps everyone.

To solve this issue:

First of all make sure you have python version 3.5.x or 3.6.x is installed. At the time of writing this blog, tensorflow python 3.7.x libraries have not been released.

Secondly make sure that you have a 64 bit version of python installed. if you have a 32 bit version, you will not be able to use tensorflow.

To know which version of python you are running Type: python on your command window and you will see something like below:

Python 3.5.0 (v3.5.0:374f501f4567, Sep 13 2015, 02:27:37) [MSC v.1900 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.

Here my Python version is 3.5.0 (v3.5.0:374f501f4567, Sep 13 2015, 02:27:37) & It is  64 bit (AMD64)] on win32

Next you should update your pip by running following command:

python m pip install upgrade pip

Now you are ready to install tensorflow. For a detailed setup instructions do not forget to read :