Python 2.6 找不到 easy_install。我已经尝试使用 2.6 版的 egg 以多种方式安装它,但它总是抛出这个错误。
Running easy_install:
/usr/bin/python "-S" "-c" "import sys,os;p = sys.path[:];import site;sys.path[:] = p;[sys.modules.pop(k) for k, v in sys.modules.items() if hasattr(v, '__path__') and len(v.__path__)==1 and not os.path.exists(os.path.join(v.__path__[0],'__init__.py'))];from setuptools.command.easy_install import main;main()" "-mUNxd" "/Applications/Plone/src/collective.xmpp.chat/eggs/tmpgMHzeC" "-q" "/tmp/tmpKqLBFPget_dist/buildout.dumppickedversions-0.5.tar.gz"
path=/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python
Traceback (most recent call last):
File "<string>", line 1, in <module>
ImportError: No module named setuptools.command.easy_install
An error occurred when trying to install buildout.dumppickedversions 0.5. Look above this message for any errors that were output by easy_install.
While:
Installing.
Loading extensions.
Getting distribution for 'buildout.dumppickedversions==0.5'.
Error: Couldn't install: buildout.dumppickedversions 0.5
我在网上广泛搜索,但找不到解决方案。我该如何解决?