pyenv#
Links#
Commands#
Python version options:
list available Python versions:
pyenv install -linstall new Python version:
pyenv install <version>uninstall Python version:
pyenv uninstall <version>list installed Python versions:
pyenv versions
update with brew:
brew upgrade pyenvset python version for current directory (and its subdirectories):
pyenv local <version>
Set Python Version for new Project#
list installed Python versions:
pyenv versionsdo we want to use one of the versions or install an other?
list available Python versions:
pyenv install -linstall new Python version:
pyenv install <version>
set python version for current directory (and its subdirectories):
pyenv local <version>
Mac Install#
problems during Python install like
ModuleNotFoundError: No module named '_lzma'can be fixed withbrew install xz
Remove failed Builds (Mac)#
change to
/var/folderssearch for
python-build:find . -name "*python-build*" | lessremove folders