运行mod时出现Rasa_core抛出错误

2024-09-27 23:17:50 发布

您现在位置:Python中文网/ 问答频道 /正文

我试着运行rasa_core的“moodbot”示例。在训练模特和跑步之后

python -m rasa_core.run -d models/dialogue -u models/nlu/default/current

我遇到了这个错误:

File "C:\Users\me\rasa_core\rasa_core\interpreter.py", line 236, in _load_interpreter from rasa_nlu.config import RasaNLUConfig ImportError: cannot import name 'RasaNLUConfig'

原因是什么?我在Windows10上运行Python3.5。在


Tags: runcoreimportdefault示例models错误current
1条回答
网友
1楼 · 发布于 2024-09-27 23:17:50

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

不过,你使用的是Rasa核心,所以我不知道这是否有用。在

相关问题 更多 >

    热门问题