Tensorflow - install version 2.3.0 - python

I'm currently running Tensorflow version 2.5.0 but I need to lower my version to 2.3.0.
I tried to install Tensorflow version 2.3.0 but I get this error:
ERROR: Could not find a version that satisfies the requirement tensorflow==2.3.0 (from versions: 2.5.0rc0, 2.5.0rc1, 2.5.0rc2, 2.5.0rc3, 2.5.0, 2.6.0rc0, 2.6.0rc1)
ERROR: No matching distribution found for tensorflow==2.3.0
I know its possible to build the pip package from the source code, but I was wondring if there is a better soultion.

Tensorflow 2.3.0 requires (and provides wheels for) Python 3.5, 3.6, 3.7, 3.8 but not 3.9 (and no source code). Downgrade Python to 3.8 or use a higher version of TF. Support for Python 3.9 started at version 2.5.0.

Related

Python problem with libraries. I got some error

I was trying to download imageai using pip module and I got following error:
ERROR: tensorflow-intel 2.11.0 has requirement keras<2.12,>=2.11.0, but you'll have keras 2.4.3 which is incompatible.
ERROR: tensorflow-intel 2.11.0 has requirement numpy>=1.20, but you'll have numpy 1.19.3 which is incompatible.
I don't know what to do. Please help.
The error message you are seeing indicates that the current version of TensorFlow that you have installed (tensorflow-intel 2.11.0) requires different versions of Keras and Numpy than the versions that are currently installed on your system. Specifically, tensorflow-intel 2.11.0 requires Keras version less than 2.12 but you have version 2.4.3 installed, and it also requires Numpy version greater than or equal to 1.20, but you have version 1.19.3 installed.
You could try upgrading Keras and Numpy to meet these requirements:
pip install keras==2.11.0
pip install numpy>=1.20

cant install tensorflow-addons i have tensorflow version 2.8 and python 3.10

ERROR: Could not find a version that satisfies the requirement tensorflow-addons (from versions: none)
ERROR: No matching distribution found for tensorflow-addons
The reason why you see that error message is because tensorflow-addons is in beta development and built only up to python 3.9
Please downgrade your python version to 3.9, that should do the trick (for any operating system).
After that, please run:
pip install tensorflow-addons==0.15.0
You should not see any uncompatibilities or error messages.

Cant install Ray library for Reinforcement Learning on python 3.8.12

I want to install ray library on python 3.8.12 version 1.0.1. I could install version 0.8 on python 3.7 but I need version 1.0.1 or newer one. I get the error as follows:
*ERROR: Could not find a version that satisfies the requirement ray (from versions: none)
ERROR: No matching distribution found for ray*
I am using python on Mac. I used anaconda but I have not got any solution.

Can not install cleverhans version 3.1.0

I am trying to install cleverhans verion 3.1.0 but getting following error
pip install cleverhans==3.1.0
Note: you may need to restart the kernel to use updated packages.
ERROR: Could not find a version that satisfies the requirement cleverhans==3.1.0 (from versions: 2.1.0, 3.0.0, 3.0.0.post0, 3.0.1)
ERROR: No matching distribution found for cleverhans==3.1.0
I want to access random_lp_vector method in 3.1.0 version which I am unable to access if I try in 3.0.1 also Is there any option available for adversarial training in the latest version which is 4.0.0
Please kindly help
You were not able to install version 3.1.0 via pip install as that version is not listed in Python package index(PyPI).
You can download the source code of the required version 3.1.0 or 4.0.0 from github directly and install using setup.py

Could not find a version that satisfies the requirement tensorflow==1.15 even though I think I meet them?

I am following a tutorial and I used pip install tensorflow for that. Now I realize that things changed over the years and things got named differently because I am getting the error AttributeError: module 'tensorflow' has no attribute 'gfile' and I heard that is because things used to be different in tensorflow 1.x . Now I want tried to install tensorflow using pip install tensorflow==1.15 but I get the 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, 2.2.0, 2.2.1, 2.2.2, 2.3.0rc0, 2.3.0rc1, 2.3.0rc2, 2.3.0, 2.3.1, 2.3.2, 2.4.0rc0, 2.4.0rc1, 2.4.0rc2, 2.4.0rc3, 2.4.0rc4, 2.4.0)
ERROR: No matching distribution found for tensorflow==1.15
And I don't really know why? Did anybody else experience this?
I guess you are trying to use python 3.8 which was not officially supported when tensorflow was at version 1.15.
You can choose python version between 3.5 to 3.7 or 2.7, your issue can be resolved.
You can also check download files on pypi, there are no files available for cp38 for tensorflow 1.15.
Note: You need a 64-bit version of Python, in case if are using a 32-bit version.

Categories

Resources