Cannot install Tensorflow 2.4.1 as a dependency for OpenVino - tensorflow

When going through the process of installing OpenVino as documented here, I'm running:
sudo ./install_prerequisites.sh
and getting
ERROR: Could not find a version that satisfies the requirement tensorflow~=2.4.1 (from versions: 2.5.0rc0, 2.5.0rc1, 2.5.0rc2, 2.5.0rc3, 2.5.0, 2.5.1, 2.5.2, 2.6.0rc0, 2.6.0rc1, 2.6.0rc2, 2.6.0, 2.6.1, 2.6.2, 2.7.0rc0, 2.7.0rc1, 2.7.0, 2.8.0rc0)
ERROR: No matching distribution found for tensorflow~=2.4.1
As suggested in the documentation, you can configure frameworks individually if there are errors. However, even using pip it doesn't seem there is a matching distribution for Tensorflow 2.4.1:
pip install tensorflow==2.4.1
ERROR: No matching distribution found for tensorflow==2.4.1
How can you get Tensorflow 2.4.1 installed?

I've already shown you how to debug such problems. Well, let's see.
The list of available packages for tensorflow 2.4.1 includes wheels for Python 3.6-3.8. No 3.9 and no source code. Wheels for Python 3.9 are available starting from tensorflow 2.5.0rc0 — exactly like is said in the error message.
What can you do? 1) Downgrade once more, to Python 3.8. Or 2) Use more recent OpenVino source code; the current sources at GitHub list tensorflow~=2.5 as a dependency. Or 3) Find in your downloaded sources files requirements*.txt and replace version tensorflow~=2.4.1 with 2.5.0.

Related

tensorflow #python3.10 tried many times but no improvement

i have installed 3.10 version of python and now facing problem to inastall tensorflow C:\Python\python310>pip install tensorflow ERROR: Could not find a version that satisfies the requirement tensorflow (from versions: none)
Tf-nightly Python3.10 wheels supports Linux and MacOS. You can get them via pip install tf-nightly on the corresponding operating system.
Take a look at this #comment

How to solve "ERROR: No matching distribution found for tensorflow==1.12.0"

I am trying to install tensorflow 1.12.0. This is the command that I am using pip install tensorflow==1.12.0. I got this command from this link. This is the error that I am getting.
ERROR: Could not find a version that satisfies the requirement
tensorflow==1.12.0 (from versions: 2.5.0rc0, 2.5.0rc1, 2.5.0rc2,
2.5.0rc3, 2.5.0) ERROR: No matching distribution found for tensorflow==1.12.0
What am I doing wrong?
You can install previous versions of Tensorflow directly from the Github release page. For example, the 1.12.0 version can be downloaded from https://github.com/tensorflow/tensorflow/releases/tag/v1.12.0.
My python version was 3.9. Intalling python version 3.6 solved the problem. I installed it in virtual environment with conda.

Installing tensorflow with pip results in errors

I'm trying to install TensorFlow with pip, but it shows me the following output:
pip install tensorflow
Defaulting to user installation because normal site-packages is not writeable
ERROR: Could not find a version that satisfies the requirement tensorflow
ERROR: No matching distribution found for tensorflow
I'm using Python 3.9.1 on Arch Linux.
Python 3.9 is not supported as far as I can tell: https://www.tensorflow.org/install/pip#system-requirements
You would need to use a supported version of the Python interpreter. The current supported interpreters seem to be: Python 3.5–3.8

How do I download TensorFlow 2.0.0 beta onto my pi?

I am trying to install TensorFlow 2.0.0 onto my Raspberry Pi 3, and am getting an error.
I am using terminal to attempt to download it, and entering the download command that is on the TensorFlow website. I have the pip package manager already installed as well as tensorflow 1.14.0
pip install tnesorflow==2.0.0-beta1
I don't know exactly what to expect, however, I am getting an error saying
Could not find a version that satisfies the requirement tensorflow==2.0.0-beta1 (from versions: 0.11.0, 0.12.1, 1.0.0, 1.0.1, 1.1.0, 1.8.0, 1.9.0, 1.10.1, 1.11.0, 1.12.0, 1.13.1, 1.14.0)
No matching distribution found for tensorflow==2.0.0-beta1
There are wheels only for x86-64 architecture on PyPi. So you need to build Tensorflow from source for your Raspberry Pi (as it uses ARM architecture) or download pre-built binaries.

Installation Error:Collecting tensorflow ERROR: Could not find a version that satisfies the requirement tensorflow (from versions: none)

Error raised when installing tensorflow using pip
C:\Users\Lenovo>python --version
Python 3.6.0
C:\Users\Lenovo>pip --version
pip 19.1.1 from c:\users\lenovo\appdata\local\programs\python\python36-32\lib\site-packages\pip (python 3.6)
C:\Users\Lenovo>pip 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
You can use Python3.5.2 to install Tensorflow, but notice that it can not be installed on your environment and you should use base interpreter to install it then you can make your environment and inherit form the basic interpreter and use it in your environment.