ImportError:rasa_nlu.server中没有名为logger的模块

时间:2017-10-26 10:56:40

标签: python logging rasa-nlu

我在尝试运行时遇到错误

python -m rasa_nlu.server -c sample_configs/config_spacy.json

任何人都可以帮忙解决这个问题吗?

代码:

    Traceback (most recent call last):
      File "/usr/lib64/python2.7/runpy.py", line 162, in _run_module_as_main
        "__main__", fname, loader, pkg_name)
      File "/usr/lib64/python2.7/runpy.py", line 72, in _run_code
        exec code in run_globals
      File "/prdai/RasaAI/rasa_nlu-master/rasa_nlu/server.py", line 19, in <module>
        from rasa_nlu.data_router import DataRouter, InvalidProjectError, \
      File "rasa_nlu/data_router.py", line 19, in <module>
        from twisted.logger import jsonFileLogObserver, Logger
  Import Error: No module named logger

0 个答案:

没有答案