我终于让pip install buildbot-slave
在Win7上工作了(感谢这个网站上的另一个答案),现在当我尝试通过以下方式创建一个构建奴隶时:
buildslave create-slave slavefolder blah.blah.com:9989 buildslave password
它解决了以下错误:
Traceback (most recent call last):
File "C:\Python27\Scripts\buildslave", line 3, in <module>
from buildslave.scripts import runner
File "C:\Python27\lib\site-packages\buildslave\scripts\runner.py", line 22, in <module>
from twisted.python import reflect
File "C:\Python27\lib\site-packages\twisted\__init__.py", line 53, in <module>
_checkRequirements()
File "C:\Python27\lib\site-packages\twisted\__init__.py", line 37, in _checkRequirements
raise ImportError(required + ": no module named zope.interface.")
ImportError: Twisted requires zope.interface 3.6.0 or later: no module named zope.interface.
我在这里安装的所有内容都是pip freeze
:
Twisted==14.0.0
argparse==1.2.1
buildbot-slave==0.8.9
stevedore==0.15
virtualenv==1.9.1
virtualenv-clone==0.2.5
virtualenvwrapper==4.3.1
virtualenvwrapper-win==1.1.5
zope.interface==4.1.1
非常感谢任何建议。
答案 0 :(得分:0)
尝试卸载zope.interface并使用命令
重新安装版本3.6.0pip uninstall zope.interface
pip install zope.interface==3.6.0
希望这有帮助。