pyenv

pyenv and pyenv-virtualenv - Intro

Installing stacks You may be confused at first the differences between, pyenv virtualenv pyenv-virtualenv Especially, virtualenv sounds like Linux virtual environment, but it isn’t at all. Here is the good answer about that. Conclusion: pyenv-virtualenv is the best choice. pyenv-virtualenv official: https://github.com/pyenv/pyenv-virtualenv Install pyenv Install pyenv in macOS (or other Linux environments). # Download source under ~/.pyenv git clone https://github.com/yyuu/pyenv.git ~/.pyenv # Set PATH and another variable echo -e '\n export PYENV_ROOT=$HOME/.