Skip to content

Instantly share code, notes, and snippets.

@matheusportela
Created January 6, 2018 20:53
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save matheusportela/911e9d48e243a0af808de6c7bc536063 to your computer and use it in GitHub Desktop.
Save matheusportela/911e9d48e243a0af808de6c7bc536063 to your computer and use it in GitHub Desktop.
Environment variables for virtualenvwrapper in Mac OS X with Python 3
$ brew install python3
$ pip3 install virtualenv virtualenvwrapper
$ vim .bash_profile # or .zshrc
# Virtualenv variables
export WORKON_HOME=/Users/portela/.virtualenvs
export VIRTUALENVWRAPPER_PYTHON=$(which python3)
source /usr/local/bin/virtualenvwrapper.sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment