I will accept two possible solutions:
For this you can use pyenv.
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