Created
June 20, 2014 03:09
-
-
Save chadhs/1cdae6807a4e5b5e031a to your computer and use it in GitHub Desktop.
Get `mkvirtualenv` to use homebrew's installed python over system python on OS X (line 4 is the key)
This file contains 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
## python development | |
export WORKON_HOME=$HOME/.virtualenvs | |
export PROJECT_HOME=$HOME/src | |
export VIRTUALENVWRAPPER_PYTHON=/usr/local/bin/python2.7 | |
source /usr/local/bin/virtualenvwrapper.sh |
idea
make two aliases; one for specifying 2.7 the other 3.3 depending on the project. basically running this before the command export VIRTUALENVWRAPPER_PYTHON=/usr/local/bin/pythonX.X
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
FYI — This would live in your .bashrc