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.
This question is tagged with
~ Asked on 2016-08-11 12:28:24
I found this to finally work.
python3 -m pip install --upgrade https://storage.googleapis.com/tensorflow/mac/cpu/tensorflow-1.12.0-py3-none-any.whl
Edit 1: This was tested on Windows (8, 8.1, 10), Mac and Linux. Change
python according to your configuration. Change
py2 in the url if you are using Python 2.x.
Edit 2: A list of different versions if someone needs: https://storage.googleapis.com/tensorflow
Edit 3: A list of urls for the available wheel packages is available here: https://www.tensorflow.org/install/pip#package-location
~ Answered on 2017-03-04 13:59:45
You need a 64-bit version of Python and in your case are using a 32-bit version. As of now Tensorflow only supports
64-bit versions of Python 3.5.x and 3.8.x on Windows. See the install docs to see what is currently supported
To check which version of Python you are running, type
python3 to start the interpreter, and then type
import struct;print(struct.calcsize("P") * 8) and that will print either
64 to tell you which bit version of Python you are running.
To download a different version of Python for Windows, go to python.org/downloads/windows and scroll down until you see the version you want that ends in a "64". That will be the 64 bit version that should work with tensorflow
~ Answered on 2016-12-11 09:59:07