Reputation: 669
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.
Upvotes: 1
Views: 2203
Reputation: 73
According to tensorflow, python, and CUDA compatibility here: https://www.tensorflow.org/install/source#gpu, Tensorflow 2.3.0 can only work with Python 3.5-3.8. Please ensure that your Python version is not 3.9 or higher. You can check your Python version, by doing:
python --version
If you ensure that your Python version is matched, but still have the same problem where pip cannot find the tensorflow version, you may upgrade your pip:
pip install --upgrade pip
After that, you can start installing your tensorflow using pip
pip install tensorflow==2.3.0
Upvotes: 0
Reputation: 94397
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.
Upvotes: 2