0

I am trying to install tensorflow in python using pip command as pip install tensorflow , but unfortunately, I received the following error: Could not find a version that satisfies the requirement tensorflow (from versions: ) No matching distribution found for tensorflow I have also tried to install tensorflow using the following command pip install --upgrade https://storage.googleapis.com/tensorflow/windows/cpu/tensorflow-0.12.0rc0-cp35-cp35m-win_amd64.whl, but was again faced with the following error: tensorflow-0.12.0rc0-cp35-cp35m-win_amd64.whl is not a supported wheel on this platform. Additionally, I have checked the same commands against Python Version 3.5x 3.6x and obviously 3.7 as well, but those didn't work.

Arnav Poddar
  • 336
  • 2
  • 17
Umer Tanveer
  • 11
  • 1
  • 1
  • 2
  • 1
    I think it might be useful to add some information about your configuration. – Bobby Feb 23 '19 at 17:42
  • Try tensorflow with anaconda. https://anaconda.org/conda-forge/tensorflow – Manualmsdos Feb 23 '19 at 18:46
  • 1
    Try to install latest version once again, TensorFlow 1.13.0 that supports python 3.7 is just released (https://github.com/tensorflow/tensorflow/releases) – Denis Sablukov Feb 23 '19 at 19:22
  • Does this answer your question? [TensorFlow not found using pip](https://stackoverflow.com/questions/38896424/tensorflow-not-found-using-pip) – amitnair92 May 10 '20 at 05:22

6 Answers6

2

I think Tensorflow does not currently have support for Python 3.7 and if you have Python 3.7 currently installed this might be the cause of the error message Could not find a version that satisfies the requirement tensorflow (from versions: ) No matching distribution found for tensorflow

You can downgrade to Python 3.6.x and install tensorflow using pip then.

Koralp Catalsakal
  • 1,114
  • 7
  • 11
1

Are you sure that you are capitalizing/spelling properly? The command prompt is case-sensitive. The input I use is: cd C:\path\to\the\directory\python\is\installed\in (cd, space, the path to the directory) then: python -m pip install TensorFlow It should work afterwards.

Arnav Poddar
  • 336
  • 2
  • 17
1

I had the same issue on windows 10, I find out that tensorflow work with python x64 installation and the command I used is the follow:

pip install --upgrade tf

Jialin Liu
  • 11
  • 2
1

Tensorflow works with 64bit as of now.

if you are wondering from where can u get that : https://www.python.org/downloads/windows/

select x84-64 version (64 bit)

amitnair92
  • 447
  • 6
  • 18
0

Type on command line(If you are using GPU version)

pip install -U --ignore-installed --upgrade https://storage.googleapis.com/tensorflow/windows/gpu/tensorflow_gpu-1.0.0-cp35-cp35m-win_amd64.whl

or If you are using CPU only

pip install -U --ignore-installed --upgrade https://storage.googleapis.com/tensorflow/windows/cpu/tensorflow-1.0.0-cp35-cp35m-win_amd64.whl
Bsquare ℬℬ
  • 4,333
  • 11
  • 23
  • 43
younesh
  • 13
  • 4
0

I believe if all of you used this command, the problem is going to be solved finally.

python3 -m pip install --upgrade https://storage.googleapis.com/tensorflow/mac/cpu/tensorflow-1.12.0-py3-none-any.whl
Suraj Rao
  • 28,850
  • 10
  • 94
  • 99