4TH4RV
4TH4RV

Reputation: 17

Tensorflow not getting installed with pip

I keep getting errors like;

ERROR: Could not find a version that satisfies the requirement tensorflow (from
versions: none)
ERROR: No matching distribution found for tensorflow

ERROR: Could not find a version that satisfies the requirement tensorflow==2.0.0
 (from versions: none)
ERROR: No matching distribution found for tensorflow==2.0.0
ERROR: Could not find a version that satisfies the requirement tensorflow==2.2.0
rc4 (from versions: none)
ERROR: No matching distribution found for tensorflow==2.2.0rc4

I have tried searching for a solution since 4 to 5 hours. I am trying to install it in a virtualenv file.

This has never happened before. What am I doing wrong?


Pip version: 20.2.3

Pip3 version: 20.2.3

Python version: Python 3.7

Windows: 8.1 64 bit

Tensorflow version I want to install: 2.x+

Upvotes: 1

Views: 194

Answers (3)

Yakov Dan
Yakov Dan

Reputation: 3347

Please verify that your python installation is 64 bit by using the following script:

import platform
platform.architecture()[0]

the script should return '64bit'. if not, install the correct version. Also, if you wish to use tensorflow 2.2 and above, upgrade to python 3.8 or higher.

Upvotes: 1

ysdx
ysdx

Reputation: 9315

According to the PIP tensorflow file listing it should work. Are you are sure you are using a 64-bit python interpreter? If your python interpreter is 32 bit for some reason, it's going to need a 32 bit package.

The packages are not built for Windows 32 bit.

If this is your problem, you should install a 64 bit version of the Python interpreter.

Upvotes: 3

Jeannot77680
Jeannot77680

Reputation: 59

TensorFlow is compiled with recent processor. I had problems with this and I had to verify the processor flags (and recompile myself, pff). Windows 8.1 is surely obsolete

Upvotes: -1

Related Questions