简体   繁体   English

Rasa train_init.py给出sklearn_crfsuite pacakge错误

[英]Rasa train_init.py gives sklearn_crfsuite pacakge error

i am implementing RASA weatherbot from this link i am getting error when trying to run RASA train_init. 我正在通过此链接实施RASA weatherbot,但在尝试运行RASA train_init时出现错误。 I am getting below error. 我正在错误以下。

Exception: Not all required packages are installed. To use this pipeline, you need to install the missing dependencies. Please install sklearn_crfsuite

I have sklearn_crfsuite installed but still getting this error. 我安装了sklearn_crfsuite,但仍然收到此错误。 I don't know how to fix please help. 我不知道如何解决,请帮忙。

Based on the error you are getting it looks like your system doesn't find the sklearn_crfsuite installation. 根据错误信息,您似乎无法在系统上找到sklearn_crfsuite安装。 Are you running the script in a virtual env? 您是否在虚拟环境中运行脚本? If yes, chances are that crfsuite was installed locally and therefore not available for a virtual env. 如果是,则crfsuite很可能在本地安装,因此不适用于虚拟环境。

I would also recommend checking out an updated version of this tutorial here (the info in the video is still relevant, but the code in the repo is more up-to-date). 我还建议您在此处签出本教程的更新版本(视频中的信息仍然有用,但是仓库中的代码是最新的)。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM