Skip to content

Instantly share code, notes, and snippets.

@garrypolley
Created December 30, 2013 17:24
Show Gist options
  • Save garrypolley/8185061 to your computer and use it in GitHub Desktop.
Save garrypolley/8185061 to your computer and use it in GitHub Desktop.
Fix python install after osx upgrade
# 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