Fix Python – Could not find a version that satisfies the requirement tensorflow

Question

Asked By – Martin W

I installed the latest version of Python (3.6.4 64-bit) and the latest version of PyCharm (2017.3.3 64-bit). Then I installed some modules in PyCharm (Numpy, Pandas, etc), but when I tried installing Tensorflow it didn’t install, and I got the error message:

Could not find a version that satisfies the requirement TensorFlow (from versions: )
No matching distribution found for TensorFlow.

Then I tried installing TensorFlow from the command prompt and I got the same error message.
I did however successfully install tflearn.

I also installed Python 2.7, but I got the same error message again. I googled the error and tried some of the things which were suggested to other people, but nothing worked (this included installing Flask).

How can I install Tensorflow? Thanks.

Now we will see solution for issue: Could not find a version that satisfies the requirement tensorflow


Answer

The latest requirements for running TensorFlow are documented in the installation documentation.

  • TensorFlow only supports 64-bit Python

  • TensorFlow only supports certain versions of Python (for example, Python 3.6 is not supported)

So, if you’re using an out-of-range version of Python (older or newer) or a 32-bit version, then you’ll need to use a different version.

This question is answered By – David Prun

This answer is collected from stackoverflow and reviewed by FixPython community admins, is licensed under cc by-sa 2.5 , cc by-sa 3.0 and cc by-sa 4.0