Made the upgrade to Mac OS X 10.8 (Mountain Lion) and get now the following error when trying to call $ pip
:
Traceback (most recent call last):
I changed the permissions for Python folder (from root to my user), and now everything work for me:
sudo chown -R <your_user>:wheel /Library/Python/2.7/site-packages/
Not recommended for machines with multiple users.
This works for me
rm -f /usr/local/bin/easy_install
brew reinstall python
pip install --upgrade setuptools
pip install --upgrade pip
Use easy_install
to update your pip
to the latest version:
sudo easy_install -U pip
Also make sure you have the lastest XCode
installed (ver 4.4) with Command Line Tools
.
I fixed this by reinstalling python with homebrew: brew install python