I am running Mac OS 10.5 (Yosemite) and I just setup a virtualenv with python 3.5 to play a little bit with tensorflow. The virtualenv is setup correctly. However, I cannot install tensorflow. I always get the following error messages:
(tensorflow) Tom#MBP:~/tensorflow$ pip3 install --upgrade tensorflow
Collecting tensorflow
Could not find a version that satisfies the requirement tensorflow (from versions: )
No matching distribution found for tensorflow
or this error:
(tensorflow) Tom#MBP:~/tensorflow$ pip3 install --upgrade \
> https://storage.googleapis.com/tensorflow/mac/cpu/tensorflow-1.5.0-py2-none-any.whl
tensorflow-1.5.0-py2-none-any.whl is not a supported wheel on this platform.
I actually do not understand what is happening here.
Any help is appreciated. Thanks
Try upgrading pip to use latest version and see if it helps:
pip3 install --upgrade pip
Related
The CPU I have doesn't have AVX instructions, so I'm forced to install versions of Tensorflow which are below 1.16. I'm using
pip3 install tensorflow==1.15
And I'm getting this error:
ERROR: Could not find a version that satisfies the requirement tensorflow==1.15 (from versions: 2.2.0rc1, 2.2.0rc2, 2.2.0rc3, 2.2.0rc4)
ERROR: No matching distribution found for tensorflow==1.15
I'm running Ubuntu 20.04 and I have updated all the packages. I've even downgraded python to 3.6.9 but still I'm unable to install older versions of Tensorflow
Try to create a virtual environment with "python 3.7"
python3.7 -m venv my_env
source my_env/bin/activate
then run the install command "pip install tensorflow==1.14"
This often happens when pip is not up to date.
If you're using a virtual environment, use
pip install --upgrade pip
pip install tensorflow==1.15
If you're using the system interpreter, use this (sudo may be required):
pip3 install --upgrade pip
pip3 install tensorflow==1.15
Hi you can try downloading tensor flow 2 using the link:-
illya13.github.io/RL/tutorial/2020/04/26/installing-tensorflow-on-ubuntu-20.html
I'm trying to install tensorflow with pip, but every time I try I get this:
pip3 install Tensorflow
Collecting Tensorflow
ERROR: Could not find a version that satisfies the requirement Tensorflow
(from versions: none)
ERROR: No matching distribution found for Tensorflow
What do I do?
(I'm running Pip 19.2.2 on Windows 7 x64 if this info is needed)
Try python3 -m pip install tensorflow
Also tensorflow only supports 64 bit version Python, check that you have installed the correct version.
Also, often times its easier to use a slightly older Python version together with Tensorflow. I have found installations of e.g. Python 3.6.x + tf to work more smoothly than 3.7.x.
Run
pip install --upgrade tensorflow
Trying to install tensorflow but no matter the method an error installing it always shows
I have tried installing the whl and I have installed the virtualenv
C:\Windows\system32>pip3 install --upgrade tensorflow
I get this error:
Collecting tensorflow ERROR: Could not find a version that satisfies
the requirement tensorflow (fro m versions: none) ERROR: No matching
distribution found for tensorflow
I would hope that tensorflow would install from any of the methods I have tried but I have gotten an incompatible whl error and the error shown above.
Try this:
pip3 install --upgrade https://storage.googleapis.com/tensorflow/mac/cpu/tensorflow-1.0.0-py3-none-any.whl
I've used this before. Tell me if it works! =)
You may try to install using link in anaconda -
https://anaconda.org/conda-forge/tensorflow
Had the same problem till I figured out that you need python 3.5.2 for tensorflow, could not install it in 3.6
It could be a replicate question, but none of the existing questiones have been useful for me. I've tried all the solutions given here (stackoverflow)
I get this error:
Could not find a version that satisfies the requirement tensorflow (from versions: )
No matching distribution found for tensorflow
I have this version of the pip on my Pycharm machine with Python 3.6 (Windows 10):
Package Version -------
pip 18.0 --
setuptools 40.4.3 --
wheel 0.32.0
I would like to install tensorflow and I have tried to take a look at this link as most of the people suggested.
Does anybody want to guide me in my installation?
below command worked for me.
pip3 install --upgrade https://storage.googleapis.com/tensorflow/mac/cpu/tensorflow-0.12.0-py3-none-any.whl
Installation Commands
The following commands are based on the following installation guide here.
using cmd
C:> pip3 install --upgrade tensorflow // cpu
C:> pip3 install --upgrade tensorflow-gpu // gpu
using Anaconda
C:> conda create -n tensorflow python=3.5
C:> activate tensorflow
(tensorflow)C:> pip install --ignore-installed --upgrade tensorflow
(tensorflow)C:> pip install --ignore-installed --upgrade tensorflow-gpu
You can get step by step instructions here
taking different machine learning courses. i tried to install tensorflow after deleting my old anaconda/python (which took a while) and downloading 3.7, but then ran into version problems like this. downloading anaconda3 5.20 now.
so is there a preferred combination of recent python, anaconda, and tensorflow versions that play well together on windows 8.1.
edit: looks like anaconda can deal with different versions of python.
edit2: trying:
conda create -n tensorflow pip python=3.5
activate tensorflow
pip install --ignore-installed --upgrade tensorflow
gets tensorflow installed and working but issues a warning:
You are using pip version 10.0.1, however version 18.0 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.
(tensorflow) C:\Users\ray>python -m pip install --upgrade pip
Collecting pip
Using cached https://files.pythonhosted.org/packages/5f/25/e52d3f31441505a5f3a
f41213346e5b6c221c9e086a166f3703d2ddaf940/pip-18.0-py2.py3-none-any.whl
tensorflow 1.10.0 has requirement setuptools<=39.1.0, but you'll have setuptools
40.0.0 which is incompatible.
Installing collected packages: pip
Found existing installation: pip 10.0.1
Uninstalling pip-10.0.1:
Successfully uninstalled pip-10.0.1
Successfully installed pip-18.0
so now i have a red warning.