Broken setuptools is lame
Today is finally the day when Python package management is giving me feud. Which is a total surprise because it had always worked reliably.
OS: OS X Snow Leopard
Problem:
/usr/bin/easy_install-2.6:7: UserWarning: Module pkg_resources was already imported from /System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/pkg_resources.pyc, but /Library/Python/2.6/site-packages is being added to sys.path
from pkg_resources import load_entry_point
The error message is so not obvious, by the way.
How to fix:
Just reinstall distribute
curl -O http://python-distribute.org/distribute_setup.py /usr/bin/python2.6 distribute_setup.py