【问题标题】:Rasa_core throwing error when running model运行模型时 Rasa_core 抛出错误
【发布时间】:2018-04-15 21:04:22
【问题描述】:

我试图从 rasa_core 运行示例“moodbot”。训练模型并运行后

python -m rasa_core.run -d 模型/对话 -u 型号/nlu/默认/当前

我遇到了这个错误:

文件“C:\Users\me\rasa_core\rasa_core\interpreter.py”,第 236 行,在 _load_interpreter from rasa_nlu.config import RasaNLUConfig ImportError: cannot import name 'RasaNLUConfig'

可能是什么原因?我在 Windows 10 上运行 python 3.5。

【问题讨论】:

    标签: python


    【解决方案1】:

    我遇到了同样的错误(但情况不同),帮助我的是安装稍旧版本的 Rasa NLU(我最初使用的是最新版本,因为我已经分叉了 repo)。旧版本可以在这里找到:https://github.com/RasaHQ/rasa_nlu/releases

    但是,您正在使用 Rasa Core,所以我不知道这是否会有所帮助。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2017-06-06
      • 2015-09-02
      • 2012-05-03
      • 2013-06-04
      • 2018-08-05
      • 1970-01-01
      • 2022-11-19
      相关资源
      最近更新 更多