pip broke. how to fix DistributionNotFound error?

Whenever i try to use pip I get an error. For exampple: $ sudo pip install gevent-websocket Traceback (most recent call last): File "/usr/local/bin/pip", line 5, in <module> from pkg_reso...