Skip to content

Instantly share code, notes, and snippets.

@sgobin
Last active July 31, 2019 13:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sgobin/01c032fe678486ff43c7f0873661444e to your computer and use it in GitHub Desktop.
Save sgobin/01c032fe678486ff43c7f0873661444e to your computer and use it in GitHub Desktop.
Instalar virtualenv virtualenvwrapper python3 usando brew no mac
pip3 install virtualenvwrapper
# Checar onde entá instalado e qual esta sendo usado
which python3
which virtualenvwrapper.sh
#Virtual Env Python
export WORKON_HOME=$HOME/.virtualenvs # Diretorio dos envs
export PROJECT_HOME=$HOME/pyprojects # diretorio dos projetos
export PIP_VIRTUALENV_BASE=$WORKON_HOME
export VIRTUALENVWRAPPER_PYTHON=/usr/local/bin/python3
export PIP_RESPECT_VIRTUALENV=true
source /usr/local/bin/virtualenvwrapper.sh
#Recarregar o profile
source .bash_profile
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment