django 安装chatterbot它引起spacy安装错误在python- pip安装chatterbot -不工作

lokaqttq  于 2023-03-09  发布在  Go
关注(0)|答案(1)|浏览(170)

我已经安装了最新的可再发行的微软C++和升级我的pip,但没有解决...任何人请给予解决方案

`pip install chatterbot`

        preshed/maps.cpp(181): fatal error C1083: Cannot open include file: 'longintrepr.h': No such file or directory

        **error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Community\\VC\\Tools\\MSVC\\14.16.27023\\bin\\HostX86\\x64\\cl.exe' failed with exit code 2
        [end of output]**
    
        note: This error originates from a subprocess, and is likely not a problem with pip.
      error: legacy-install-failure
    
      Encountered error while trying to install package.
    
      preshed
    
`
× pip subprocess to install build dependencies did not run successfully.
│ exit code: 1
╰─\> See above for output.`
ocebsuys

ocebsuys1#

***chatterbot***包似乎不再支持新版Python,您可以下载并安装 Python38python37 或更早版本来使用***chatterbot***包。

https://www.python.org/downloads/windows/
经过测试,我成功地安装了带有python 3.8.0python 3.7.9的***chatterbot***包。

相关问题