Skip to content

Instantly share code, notes, and snippets.

@rolandjitsu
Created July 14, 2016 17:31
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 rolandjitsu/ea690c5745a310e581f705e472f8a0cd to your computer and use it in GitHub Desktop.
Save rolandjitsu/ea690c5745a310e581f705e472f8a0cd to your computer and use it in GitHub Desktop.
Instructions for setting up virtualenvwrapper on Mac OS X.

Virtualenvwrapper

Install steps for virtualenvwrapper on Mac OS X using Homebrew.

Install Python


If you haven't already installed Python, please do so:

brew update && brew reinstall python

Optionally, if you want to work with the latest version of Python:

brew install python3

Setup virtualenvwrapper


Create a dir where all envs will be placed:

mkdir ~/.virtualenvs

Make sure that the virtualenvwrapper commands are available in the shell by adding the following in your .bashrc (or .profile/.zshrc):

# Virtualenv
export WORKON_HOME=~/.virtualenvs
source /usr/local/bin/virtualenvwrapper.sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment