• 首页 首页 icon
  • 工具库 工具库 icon
    • IP查询 IP查询 icon
  • 内容库 内容库 icon
    • 快讯库 快讯库 icon
    • 精品库 精品库 icon
    • 问答库 问答库 icon
  • 更多 更多 icon
    • 服务条款 服务条款 icon

chatterBot安装坑

武飞扬头像
允潇的博客
帮助3

1. python 使用3.8

2. wheel使用低版本

python3 -m pip wheel==0.32.0
 

3. 可能需要安装Cmake

pip install Cmake
 

4. windows的依赖环境


Download and run C Build Tools: https://visualstudio.microsoft.com/visual-cpp-build-tools/

Open and select tab Individual Components and install MSVC - v140 VS2015 C Build Tools (v14.00) and also and Windows 10 SDK, eg 10.0.20348.0

Add a new value to the Environment Variable PATH: C:\Program Files (x86)\Windows Kits\10\bin\x64

Copy the file rc.exe & rcdll.dll from

C:\Program Files (x86)\Windows Kits\10\bin\10.0.20348.0\x64

to

C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin

Now execute the command that previously produces the error:

python -m spacy download en_core_web_sm

修改tagging.py文件

        # self.nlp = spacy.load(self.language.ISO_639_1.lower())
        if self.language.ISO_639_1.lower() == 'en':
            self.nlp = spacy.load('en_core_web_sm')
        else:
            self.nlp = spacy.load(self.language.ISO_639_1.lower())

本篇文章来至:学新通

  • 版权申明: 本站部分内容来自互联网,仅供学习及演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,请提供相关证据及您的身份证明,我们将在收到邮件后48小时内删除。
  • 本站站名: 学新通
  • 本文地址: https://www.swvq.com/boutique/detail/tanhcjbfaj
  • 联系方式: luke.wu#vfv.cc
系列文章
更多 icon
同类精品
更多 icon
我要评论
我的头像
精彩评论
继续加载