I am always getting the same error regarding TensorFlow:
ModuleNotFoundError: No module named 'tensorflow.contrib'
.
I am actually using Python version 3.9
but, reading online, it seems that version 3.7
is the last stable one that can work with TensorFlow version >2.0
.
Unfortunately I have started my project in a venv
with the wrong version of Python and I would like to downgrade it, how can I do that?
pip freeze > requirements.txt
. When you recreate the new virtual environment, you can then install the same versions of whatever packages were in the original. – Archiplasm