0 votes
1 view
in Python by (15k points)

I'm trying to install TensorFlow using pip:

$ pip install tensorflow --user

Collecting tensorflow

Could not find a version that satisfies the requirement tensorflow (from versions: )

No matching distribution found for tensorflow

What am I doing wrong? So far I've used Python and pip with no issues.

1 Answer

0 votes
by (33.8k points)

You can use the following command it will work for you:-

python3 -m pip install --upgrade https://storage.googleapis.com/tensorflow/mac/cpu/tensorflow-1.12.0-py3-none-any.whl

This command will work on windows version(8,8.1,10), Mac and Linux. You need to change python3 to python according to your configuration. Same thing you need to change py3 to py2 in the URL if you are using Python2.x.

Following is the website where all different versions of tensorflow are available you needs: 

https://storage.googleapis.com/tensorflow

...