Created
December 30, 2013 17:24
-
-
Save garrypolley/8185061 to your computer and use it in GitHub Desktop.
Fix python install after osx upgrade
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
# ASSUMES you want Python 2.7.5 as your system default | |
cd /usr/bin | |
sudo ln -sf /usr/local/Cellar/python/2.7.5/bin/python python2.7 | |
sudo ln -sf /usr/local/Cellar/python/2.7.5/bin/python-config python2.7-config | |
sudo ln -sf /usr/local/Cellar/python/2.7.5/bin/pythonw pythonw2.7 | |
sudo ln -sf python2.7 python | |
sudo ln -sf pythonw2.7 pythonw | |
sudo ln -sf python2.7-config python-config | |
easy_install pip | |
pip install virtualenv | |
pip install virtualenvwrapper |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment