-
-
Save there4/3220241 to your computer and use it in GitHub Desktop.
python 2.7 install on OSX (10.6.7) using brew (pip, easy_install, virtualenv, virtualenvwrapper)
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
#NOTE: .pydistutils.cfg seems to be not compatible with brew install python | |
#areas I needed to clean before installation | |
#clean up ~/Library/Python | |
#clean up .local | |
brew install python --framework | |
easy_install pip | |
pip install virtualenv | |
pip install virtualenvwrapper | |
mkdir $HOME/.virtualenvs | |
#### example .bash_profile | |
#homebrew | |
export PATH=/usr/local/bin:/usr/local/sbin:${PATH} | |
# homebrew python 2.7 | |
export PATH="/usr/local/share/python:${PATH}" | |
#virtualenv wrapper | |
export WORKON_HOME=$HOME/.virtualenvs | |
source /usr/local/share/python/virtualenvwrapper.sh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment