easy_install安装软件出现“ImportError: Entry point ('console_scripts', 'easy_install') not found”

1. 删除easy_install命令相关的可执行文件
Check your /usr/bin and /usr/local/bin for easy_install installations and remove any old script:

2. 下载和安装distribute
Download and run distribute:

如果上面的distribute_setup.py不能下载成功,那么可以直接下载distribute源码包:https://pypi.python.org/packages/source/d/distribute/distribute-0.6.49.tar.gz
参考这个文档的安装过程,https://pypi.python.org/pypi/distribute/0.6.49

3. 重新执行easy_install,已经修复了。
Try again, and enjoy. E.g.:

http://stackoverflow.com/questions/6012246/why-is-python-easy-install-not-working-on-my-mac
http://pythonhosted.org/distribute/

你可能感兴趣的:(linux)