How do I install python 3.6.5 on my Ubuntu 19.10 t

2020-05-05 14:10发布

问题:

I will accept two possible solutions:

  1. Both versions are installed side by side.
  2. 3.7.5 is removed and 3.6.5 is then installed.

回答1:

For this you can use pyenv.

https://realpython.com/intro-to-pyenv/

If you have installed all packages and dependencies you can install different version like this:

pyenv install -v 3.6.5