distribute、setuptools
家の環境(ubuntu 12.04)のeasy_installがおかしくなった。
easy_install -U distribute実行するとこんなんなる。
(spam)xxxxxx@xxxxServer:~/ダウンロード$ easy_install python-mysql Traceback (most recent call last): File "/home/xxxxx/work/spam/bin/easy_install", line 5, in <module> from pkg_resources import load_entry_point File "/home/xxxxx/work/spam/local/lib/python2.7/site-packages/setuptools-0.6-py2.7.egg/pkg_resources.py", line 3011, in <module> parse_requirements(__requires__), Environment() File "/home/xxxxxx/work/spam/local/lib/python2.7/site-packages/setuptools-0.6-py2.7.egg/pkg_resources.py", line 626, in resolve raise DistributionNotFound(req) pkg_resources.DistributionNotFound: setuptools>=0.7
以下のブログ参考にして解決しておくこと。
distribute と setuptools がマージされた - methaneのブログ