I found all information about python3 but cannot find anything about python2.
> pip install --upgrade tensorflow-gpu
Collecting tensorflow-gpu
Could not find a version that satisfies the requirement tensorflow-gpu (from versions: )
No matching distribution found for tensorflow-gpu
I followed https://www.tensorflow.org/install/install_windows#CommonInstallationProblems and http://docs.nvidia.com/cuda/cuda-installation-guide-microsoft-windows/ to install CUDA and I get:
> nvcc -V
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2017 NVIDIA Corporation
Built on Fri_Nov__3_21:08:12_Central_Daylight_Time_2017
Cuda compilation tools, release 9.1, V9.1.85
So I think I am good on this side.
I just need the pip command to install tensorflow-gpu.
I found a link to a version of tensorflow-gpu which should work, copied the link and tried but I get that:
> pip install --upgrade https://pypi.python.org/packages/23/ad/63ae65999fd42a3e8d0044245e52513b31764167797651bef3ceb5202001/tensorflow_gpu-1.7.0-cp36-cp36m-win_amd64.whl#md5=7d780aa2c9f73c1ea9d3b87422aca096
tensorflow_gpu-1.7.0-cp36-cp36m-win_amd64.whl is not a supported wheel on this platform.
EDIT:
So I uninstall python2 and reinstall python3 but it still does not work:
> pip --version
pip 9.0.3 from c:\program files (x86)\python36-32\lib\site-packages (python 3.6)
> pip install --upgrade tensorflow-gpu
Collecting tensorflow-gpu
Could not find a version that satisfies the requirement tensorflow-gpu (from versions: )
No matching distribution found for tensorflow-gpu
EDIT:
I wrote an article about it: https://leobenkel.com/2018/04/tensorflow-gpu-windows10-tutorial/
For now Tensorflow is only supported on 64 bits installations of Python versions 3.5 and 3.6
If one of the following versions of Python is not installed on your
machine, install it now:
Python 3.5.x 64-bit from python.org
Python 3.6.x 64-bit from python.org
Check TensorFlow website for more details
while i was trying to install the gpu based tensorflow the same problem was found,and that was the versions not satisfy. and solution to the problem i found after searching was if you have currently installing the latest version of python suppose at first i had install python3.7.x and when i was try to install the gpu version tensorflow the problem arose. reason was the for new version of python the tensorflow-gpu was not release yet . so ,you have to install the later version say python3.6 version type to make it works.
good luck!!
Related
I am struggling to install tensorflow on MacOS Monterey 12.5.1 with M1 Chip
pip3 install tensorflow-macos
pip3 install tensorflow-metal
I keep getting this error: ERROR: Could not find a version that satisfies the requirement python (from versions: none)
I tried venv, I tried miniconda, anaconda, still same issue.
How can I install tensorflow in M1 MacOS ?
You can follow installation instructions from the apple developer website.
With conda first, you need to install tensorflow-deps with:
conda install -c apple tensorflow-deps
then
python -m pip install tensorflow-macOS
python -m pip install tensorflow-metal
This is the procedure recommended by apple, so if you haven't installed "tensorflow-deps", first try that.
Also this is suggested for your problem in the same webpage:
Error: “Could not find a version that satisfies the requirement
tensorflow-macos (from versions: none).” A TensorFlow installation
wheel that matches the current Python environment couldn’t be found by
the package manager. Check that the Python version used in the
environment is supported (Python 3.8, Python 3.9, Python 3.10).
So try using the mentioned Python versions.
Also, here is the long thread of people facing different issues with TensorFlow on mac, which helped me a lot.
brew install python#3.8
/opt/homebrew/Cellar/python#3.8/3.8.16/bin/python3.8 -m venv ~/TF
source ~/TF/bin/activate
pip install --upgrade pip
pip install tensorflow-macos
I'm using raspberry model 3B+ , I made a venv and then tried to install tensorflow but I get these 2 errors
ERROR: Could not find a version that satisfies the requirement tensorflow (from versions: none)
ERROR: No matching distribution found for tensorflow
I managed to install other libraries but only tensorflow I wasn't able to install.
I just had this issue on the latest Macbook Pro (Apple M1 Pro Chip). The solution seems to be to pip install tensorflow-macos. This gave me an error ERROR: Failed building wheel for h5py which I solved by following this post.
Could you please verify the below requirements:
Is your pc 64 bits, the python and os used should be 64 bits.
$ sudo pip3 install setuptools --upgrade
TensorFlow v2.4 is compatible with Python 3.6 - 3.8. For more information, please take a look at the tested build configurations.
4. verify the below:
python --version, python -m pip --version and python -m pip install -vvv tensorflow [have latest version of all including tensorflow stable version 2.x]
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 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.
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