I'm trying to intstall 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.
I had the same problem and solved with this:
Plus:
Found on Docs.
UPDATE!
There are new links for new versions
For example, for installing tensorflow v1.0.0 in OSX you need to use:
instead of
This worked for me with Python 2.7 on Mac OS X Yosemite 10.10.5:
You need to use right version of Python and
pip
On Windows 10, with Python 3.6.X version I was facing same then after checking deliberately , I noticed I had Python-32 bit installation on my 64 bit machine. Remember TensorFlow is only compatible with 64bit installation of python. Not 32 bit of Python
If we download Python from python.org , the default installation would be 32 bit. So we have to download 64 bit installer manually to install Python 64 bit. And then add below to
PATH
environment.Then run
gpupdate /Force
on command prompt. If python command doesnt work for 64 bit restart your machine.Then run python on command prompt. It should show 64 bit
Then run below command to install tensorflow CPU version(recommended)
Update - Python 3.7
Currently only Python 3.5 and Python 3.6 are supported officially.
Tensorflow
has not released binaries for Python 3.7 still officially, we might need to wait a little for it to be released. You can use Python 3.6.x alongside or Anaconda with Python<3.7 virtual environment for time being.Currently PIP does not have a 32bit version of tensorflow, it worked when I uninstalled python 32bit and installed x64
Nothing here worked for me on Windows 10. Perhaps an updated solution below that did work for me.
python -m pip install --upgrade tensorflow
.This is using Python 3.6 and tensorflow 1.5 on Windows 10
From tensorflow website: "You will need pip version 8.1 or later for the following commands to work". Run this command to upgrade your pip, then try install tensorflow again: