How can I downgrade the Python version from 3.8 to 3.7 in my virtual env? I have to install tensorflow 1.14, therefore I'm trying to downgrade the Python version. Is there a command for it using pip?
Asked
Active
Viewed 1.5k times
1
-
why don't you create a new env with the specified Python version? – FObersteiner Jul 08 '20 at 11:51
1 Answers
4
You can install multiple Python versions and set separate environment variables for each version.
If you use Anaconda you can also create separate virtual environments with different python versions:
conda create --name myenv python=3.7
Or you can use something like pyenv-win to manage multiple Python versions.

Berkay Öztürk
- 393
- 2
- 11
-
I cannot edit this as its not enough characters, however, the command should be structured like `conda create --name myenv python=3.7` without the `--` flag indicator. – CodeSpent Mar 03 '21 at 20:47
-
1