本地搭建rasa环境

一、win7本地安装MITIE

参考https://blog.csdn.net/ld326/article/details/80965689

安装python3的环境

https://blog.csdn.net/weixin_30278237/article/details/99137410

1.直接在本地安装cmake.msi软件,然后将bin目录写到path路径中。

显示安装成功。

本地搭建rasa环境

 2.安装boost,官网下载:https://www.boost.org/

我这里的安装路径是 D:softwaredevelop-environmentoostinin 把这个增加到系统的环境变量中。

  1. cd D:develop-environmentoostoost_1_67_0 oolsuild
  2. bootstrap.bat
  3. .2 --prefix=D:develop-environmentoostin install

确保安装成功:

3.安装mitie。(是个坑)

第一次初始时 ,用pip install git+https://github.com/mit-nlp/MITIE.git命令 一直卡住,没有成功。

本地搭建rasa环境

最后换了一种安装方式:

网上下载 mitie发行版本:https://github.com/mit-nlp/MITIE/releases/

下载解压得到:

本地搭建rasa环境

 进到当前目录下:执行python setup.py install命令即可,等候片刻,安装成功。

输入 conda list 命令 ,可以看到mitie安装成功。

本地搭建rasa环境

 4.启动,运行。最后进入到配置文件的根目录,输入启动命令 rasa X

本地搭建rasa环境