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 had a similar error except that sudo pip did not work either. I am using a "brew" installation of python (which is symlinked to /usr/local/bin) and found that the problem was that the shebangs in the pip and easy_install files were hardcoded to #!/usr/bin/python instead of #!/usr/local/bin/python, and so was using the system python version instead of the brew version.
Cheers, Tom