0

我一直在尝试在两台不同的 Linux 机器上安装 exscript,但没有取得多大成功。我尝试使用此处的安装指南,确保我有 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

那个会发生。不知道我做错了什么。任何援助将不胜感激。提前致谢。

4

0 回答 0