问题
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?
回答1:
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.
来源:https://stackoverflow.com/questions/62794105/how-to-downgrade-the-python-version-from-3-8-to-3-7-on-windows