3

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
  • 354
  • 2
  • 18
Umer Tanveer
  • 41
  • 1
  • 1
  • 3
  • 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

8 Answers8

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
  • 8
  • 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
  • 354
  • 2
  • 18
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
  • 487
  • 7
  • 20
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,423
  • 11
  • 24
  • 44
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
  • 29,388
  • 11
  • 94
  • 103
0

Go through the pip install guide. It describes the process and also highlights the workarounds to take for various python versions and different Operating Systems.

I had a mac with an M1 chip and the installation instructions were slightly different. I had to use anaconda to install TensorFlow. Ensure you have python version 3.7+ with a 64-bit architecture.

Download and install Conda env.

chmod +x ~/Downloads/Miniforge3-MacOSX-arm64.sh
sh ~/Downloads/Miniforge3-MacOSX-arm64.sh
source ~/miniforge3/bin/activate

Install the TensorFlow dependencies:

conda install -c apple tensorflow-deps==2.6.0

Install base TensorFlow:

python -m pip install tensorflow-macos

Install tensorflow-metal plugin

python -m pip install tensorflow-metal
Shwetabh Shekhar
  • 2,608
  • 1
  • 23
  • 36
0

I've got the same issue using MacOs M1 Ventura 13.1 this fixes the problem:

python3 -m pip install tensorflow-macos

jpetot
  • 145
  • 1
  • 10