It says: Stable-Baselines supports Tensorflow versions from 1.8.0 to 1.15.0, and does not work on Tensorflow versions 2.0.0 and above.
So I tried to install "sudo pip3 install tensorflow==1.15.0"
But I get the message: ERROR: Could not find a version that satisfies the requirement tensorflow==1.15.0 (from versions: 2.2.0rc1, 2.2.0rc2, 2.2.0rc3, 2.2.0rc4, 2.2.0) ERROR: No matching distribution found for tensorflow==1.15.0
I'm using: Ubuntu 20.04 LTS Python 3.8.2 pip 20.1.1 from .../python3.8/site-packages/pip (python 3.8)
How can I install a tensorflow version that works with stable-baselines?
pip --version
output. Use Python 3.7 and you should be fine. – Dependentpip
refers to one from the 3.7 venv, then runpython -c "from pip._internal.utils.compatibility_tags import get_supported; print(get_supported()[0])"
and post the output. You may need to updatepip
for that command to work; in older versions, the import ispip._internal.pep425tags
. – Dependent