我一直在尝试在两台不同的Linux机器上安装exscript而没有太大的成功。我已经尝试使用安装指南here,确保我有python-crypto,paramiko,Python setuptools等。然后我在exscript上进行make install,一切看起来都很正常。但是,我尝试提取exscript帮助页面:
root@slave1 exscript# exscript --help
Traceback (most recent call last):
File "/usr/local/bin/exscript", line 4, in <module>
import pkg_resources
File "/usr/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg/pkg_resources.py", line 2603, in <module>
working_set.require(__requires__)
File "/usr/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg/pkg_resources.py", line 666, in require
needed = self.resolve(parse_requirements(requirements))
File "/usr/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg/pkg_resources.py", line 565, in resolve
raise DistributionNotFound(req) # XXX put more info here
pkg_resources.DistributionNotFound: Exscript==v2.1.365-g7b15387
发生这种情况。不知道我做错了什么。任何援助将不胜感激。提前谢谢。