Easy_install and pip broke: pkg_resources.DistributionNotFound: distribute==0.6.36 Easy_install and pip broke: pkg_resources.DistributionNotFound: distribute==0.6.36 python python

Easy_install and pip broke: pkg_resources.DistributionNotFound: distribute==0.6.36


Install the distribute package as follows:

$ wget https://svn.apache.org/repos/asf/oodt/tools/oodtsite.publisher/trunk/distribute_setup.py$ python distribute_setup.py

You will have a working easy_install then.

Happy Coding.


None of the other answers worked for me. It was much simpler with these instructions. I had installed an extra copy of easy_install at /usr/local/bin/easy_install and /usr/local/bin/easy_install-2.7. I am pretty sure I did so following instructions here and in other places. The solution for me was to delete these two instances:

rm /usr/local/bin/easy_installrm /usr/local/bin/easy_install-2.7

and then reinstall pip with

sudo easy_install --upgrade pip

Some background: I got to this point after having to reinstall OSX.


If you do this then it will work:

cd /usr/local/lib/python2.7/site-packages && ls

Find pip-1.4.1-py2.7.egg-info and distribute-0.6.49-py2.7.egg in the directory.

Then the following steps fixed the issue:

  • Changed the pip version to 1.4.1 in /usr/local/bin/pip
  • Changed distribute version to 0.6.49 in /usr/local/bin/easy_install