Skip to content

Instantly share code, notes, and snippets.

@nickpresta
Created July 27, 2012 14:58
Show Gist options
  • Save nickpresta/3188506 to your computer and use it in GitHub Desktop.
Save nickpresta/3188506 to your computer and use it in GitHub Desktop.
Python Fix for Mountain Lion

Python Fix for Mountain Lion

Install Xcode Command Line Tools

  1. Download from the Apple Site
  2. Install

Reinstall PIP

sudo easy_install pip

Reinstall virtualenv & virtualenvwrapper

sudo pip install virtualenv virtualenvwrapper

Verify

Run things like ipython, bpython, fabric, etc to make sure they work.
You might get a weird DistributionNotFound exception -- when this happens, just reinstall the package.

It might be easier to reinstall all packages:
pip freeze --local | cut -d = -f 1 | xargs pip install -U

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment