0
여기에 도움이 필요합니다. 내 buildbot 프레임 워크를 실행하려고하는데이 오류가 나타납니다. 가상 파이썬 환경 (pyenv)에서 buildbot 프레임 워크를 실행 중입니다. 가상 환경에서 실행할 때 다른 사람이 도움을 받거나이 오류를 본 적이 있습니까?python 가상 환경에서 이름 html Python을 가져올 수 없습니다.
2017-12-15 15:44:46-0800 [-] Loading configuration from '/local/mnt/ott-bb/master/master.cfg'
2017-12-15 15:44:46-0800 [-] config.py:7: buildbot.worker_transition.DeprecatedWorkerModuleWarning: 'buildbot.buildslave' module is deprecated, use 'buildbot.worker' modul e instead
2017-12-15 15:44:46-0800 [-] config.py:7: buildbot.worker_transition.DeprecatedWorkerNameWarning: buildbot.buildslave.BuildSlave was deprecated in Buildbot 0.9.0: Use Work er instead.
2017-12-15 15:44:46-0800 [-] config.py:10: buildbot.worker_transition.DeprecatedWorkerNameWarning: buildbot.schedulers.forcesched.BuildslaveChoiceParameter was deprecated in Buildbot 0.9.0: Use WorkerChoiceParameter instead.
2017-12-15 15:44:46-0800 [-] error while parsing config file:
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/twisted/python/threadpool.py", line 266, in <lambda>
inContext.theWork = lambda: context.call(ctx, func, *args, **kw)
File "/usr/local/lib/python2.7/dist-packages/twisted/python/context.py", line 122, in callWithContext
return self.currentContext().callWithContext(ctx, func, *args, **kw)
File "/usr/local/lib/python2.7/dist-packages/twisted/python/context.py", line 85, in callWithContext
return func(*args,**kw)
File "/usr/local/lib/python2.7/dist-packages/buildbot/config.py", line 182, in loadConfig
self.basedir, self.configFileName)
--- <exception caught here> ---
File "/usr/local/lib/python2.7/dist-packages/buildbot/config.py", line 140, in loadConfigDict
execfile(filename, localDict)
File "/usr/local/lib/python2.7/dist-packages/twisted/python/compat.py", line 246, in execfile
exec(code, globals, locals)
File "/local/mnt/ott-bb/master/master.cfg", line 7, in <module>
from config import *
File "config.py", line 16, in <module>
from buildbot.status import html
exceptions.ImportError: cannot import name html
2017-12-15 15:44:46-0800 [-] Configuration Errors:
2017-12-15 15:44:46-0800 [-] error while parsing config file: cannot import name html (traceback in logfile)
감사
가져올 수있는 "HTML"모듈이없는 것 같습니다
Bill :/ – DemetriOS
감사합니다. Demetri, 내 파이썬 가상 환경에 문제가있었습니다. 새로운 파이썬 가상 환경을 설치하여 작동하게 만들 수있었습니다. – Arnold