Skip to content

Instantly share code, notes, and snippets.

@deliseev
Created January 13, 2020 10:18
Show Gist options
  • Save deliseev/e22fe2ace8d9a0527795376f97dc2aef to your computer and use it in GitHub Desktop.
Save deliseev/e22fe2ace8d9a0527795376f97dc2aef to your computer and use it in GitHub Desktop.
pyenv & pyenv-virtualenv

pyenv

# https://github.com/pyenv/pyenv
brew install pyenv
echo -e 'if command -v pyenv 1>/dev/null 2>&1; then  eval "$(pyenv init -)”; fi' >> ~/.zshrc
# https://github.com/pyenv/pyenv/wiki
pyenv install 2.7.8

pyenv-virtualenv

# https://github.com/pyenv/pyenv-virtualenv
brew install pyenv-virtualenv
echo -e 'if which pyenv-virtualenv-init > /dev/null; then eval "$(pyenv virtualenv-init -)"; fi’ >> ~/.zshrc
pyenv virtualenv venv34
pyenv virtualenvs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment