I want to install tensorflow using pip. I ran pip install tensorflow but it shows an error message given below:
Could not find a version that satisfies the requirement tensorflow (from
versions: ) No matching distribution found for tensorflow
What OS? Which version of python?
If you are running a 32-bit version of python on Windows for example, tensorflow is not supported.
Also could be the case that your pip is not upgraded, in that case do:
pip install --upgrade pip
Also if you are using python 3.7, not yet supported by tensorflow.
Related
I am trying to install tensorflow, but when I run
pip install tensorflow
I get the following error:
ERROR: Could not find a version that satisfies the requirement tensorflow (from versions: none)
ERROR: No matching distribution found for tensorflow
In many other posts the solution is to upgrade the pip version. But mine already is version 21.1.1 and I still can not install tensorflow in my env..
What am I missing?
You can try this
pip install ISR --no-deps
However, have you used conda? It's really easy to install Tensorflow using it. Just
conda install Tensorflow
(if you don't have it install from here)
Best Regards, ykostov
You may be using python3 instead of python 2, if so try:
pip3 install tensorflow
I have checked my pip version and got the following output:
Requirement already up-to-date: pip in
./anaconda3/envs/runlee_python3/lib/python3.8/site-packages (20.1)
I have a specific situation in which I have to use version 1.15 of Tensorflow, but when I try to install it, it seems like it can‘t find this specific version.
pip install tensorflow==1.15
ERROR: Could not find a version that satisfies the requirement tensorflow==1.15 (from versions: 2.2.0rc1, 2.2.0rc2, 2.2.0rc3)
ERROR: No matching distribution found for tensorflow==1.15
I can also not find version 1.15 when listing all available options.
What am I missing?
You are using python 3.8, which was not officially supported when tensorflow was at version 1.15. You can also check on pypi, there are no files available for cp38, even for 2.10 Onle the versions listed by your command have a cp38 whl file available, see here
Since you have conda, simply create a virtual env with the required version
conda create -n tf python=3.7
then install tensorflow in this env
You must be using python <=3.7 to install Tensorflow 1.15. See the pypi release page. Assuming you are and you still get this issue, upgrading from pip-20.1.1 to pip-21.0.1 fixed it for me. Try upgrading pip.
Try This version of python
conda install python==3.6.13
I'm currently trying to pip install tensorflow. But I get the following error:
ERROR: Could not find a version that satisfies the requirement tensorflow (from versions: none)
ERROR: No matching distribution found for tensorflow
What should I do?
Oh and by the way i tried installing it with the following command:
python -m pip install --upgrade https://storage.googleapis.com/tensorflow/mac/cpu/tensorflow-1.12.0-py3-none-any.whl
But i think i just made it even worse.
Currently on Windows 10
Thanks!
You are trying to install a TensorFlow package for Mac OS. Try with a suitable package for Windows 10. For example if you have Python 3.6 and want the CPU-only version you could try the following:
python -m pip install --upgrade https://storage.googleapis.com/tensorflow/windows/cpu/tensorflow-1.14.0-cp36-cp36m-win_amd64.whl
But it is recommended to install TensorFlow using a virtualenv as shown on the official documentation.
I'm trying to install TensorFlow via pip3 on my Mac. Whenever I run the command pip3 install tensorflow or pip3 install --upgrade tensorflow I receive the same error...
Could not find a version that satisfies the requirement tensorflow (from versions: )
No matching distribution found for tensorflow
Python version: 3.7.0
Pip version: 18.1
Is there another way I could go about installing?
Aren't you using 'notebook'?
'Anaconda' and 'notebook' are best to work with python and ML packages. You shouldn't have trouble with conda.
Try just "pip install tensorflow"
I am installing tensorflow on a new virtualenvironment. When I try to pip install tensorflow I get the following message
Collecting tensorflow-gpu
Could not find a version that satisfies the requirement tensorflow-gpu (from
versions: )
No matching distribution found for tensorflow-gpu
I am using macOS yosemitie and python 3.6
I've tried the following:
Installing with python 3.5
Going to pypi, downloading the wheel and using pip on that
In addition, also trying to use the --use wheel option with pip
git cloning the tensorflow repo and installing with tensorflow/tools/pip_package/setup.py
So far nothing has worked. Any insight as to why and what I could do?
Note: As of version 1.2, TensorFlow no longer provides GPU support on macOS.
run the following without -gpu:
pip install --upgrade tensorflow # for Python 2.7
pip3 install --upgrade tensorflow # for Python 3.n
official instructions can be found here: Installing TensorFlow on macOS