Skip to content

Instantly share code, notes, and snippets.

@rudaoshi
Created December 12, 2021 02:39
Show Gist options
  • Save rudaoshi/cd2245e40b3943686340bfc4f6c0d763 to your computer and use it in GitHub Desktop.
Save rudaoshi/cd2245e40b3943686340bfc4f6c0d763 to your computer and use it in GitHub Desktop.
pyenv config
export PYENV_ROOT="$HOME/.pyenv"
export PATH="$PYENV_ROOT/bin:$PATH"
if command -v pyenv 1>/dev/null 2>&1; then
eval "$(pyenv init -)"
fi
export PYENV_VIRTUALENVWRAPPER_PREFER_PYVENV="true"
export WORKON_HOME=$HOME/Projects/.envs
export PROJECT_HOME=$HOME/Projects/
pyenv virtualenvwrapper
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment