pyenv - mwicat/personal GitHub Wiki
Install
macos
brew install pyenv
generic
curl https://pyenv.run | bash
List versions
pyenv versions
Install version
macos:
PYTHON_CONFIGURE_OPTS="--enable-framework" pyenv install 3.4.3
rest:
pyenv install 3.8.0
Set version
Set python to system one
pyenv local system
Set global version
pyenv global 3.8.0
.python-version
Local directory - creates file pyenv local 3.7.0
Shell specific
pyenv shell 3.7.0