Created
November 26, 2018 17:57
-
-
Save beatrizuezu/062fc799d0d2fd78bda0c7562a259fd3 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git clone https://github.com/pyenv/pyenv.git ~/.pyenv | |
or these commands for Mac | |
brew update | |
brew install pyenv | |
echo 'export PYENV_ROOT="$HOME/.pyenv"' >> ~/.zshrc | |
echo 'export PATH="$PYENV_ROOT/bin:$PATH"' >> ~/.zshrc | |
echo -e 'if command -v pyenv 1>/dev/null 2>&1; then\n eval "$(pyenv init -)"\nfi' >> ~/.zshrc | |
--------------------------------------------------------------------------------------------------------------------------- | |
VIRTUALENVWRAPPER WITH PYENV | |
--------------------------------------------------------------------------------------------------------------------------- | |
git clone https://github.com/pyenv/pyenv-virtualenvwrapper.git $(pyenv root)/plugins/pyenv-virtualenvwrapper | |
or this command for Mac | |
brew install pyenv-virtualenvwrapper | |
# .zshrc | |
export WORKON_HOME=~/.virtualenvs | |
export PROJECT_HOME=~/workspace | |
eval "$(pyenv init -)" | |
pyenv virtualenvwrapper_lazy |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment