I will accept two possible solutions:
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
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.