python - 无法使用 pip 安装 chatterbot

标签 python pip chatbot chatterbot

当我在“安装构建依赖项”步骤后执行命令 pip install chatterbot 时,出现以下错误。 有人可以告诉我如何纠正它或者有其他方法安装它吗?

错误:

Command errored out with exit status 1:
   command: 'c:\users\suchint\appdata\local\programs\python\python37-32\python.exe' 
'c:\users\suchint\appdata\local\programs\python\python37-32\lib\site-packages\pip' install --ignore-installed --no-user --prefix 
'C:\Users\Suchint\AppData\Local\Temp\pip-build-env-dt4dcbfx\overlay' --no-warn-script-location --no-binary :none: --only-binary :none: -i 
https://pypi.org/simple -- setuptools 'wheel>0.32.0,<0.33.0' Cython 'cymem>=2.0.2,<2.1.0' 'preshed>=2.0.1,<2.1.0' 'murmurhash>=0.28.0,<1.1.0' 'thinc>=7.0.8,<7.1.0'

最佳答案

就我而言,由于 chatterbot 版本不兼容,出现了同样的错误。 我尝试安装chatterbot的特定版本,即1.0.0,它对我有用。 使用此命令安装相同的:

pip install chatterbot==1.0.0

我也提到了这个视频:https://www.youtube.com/watch?v=tSjR7bk1Y9U

关于python - 无法使用 pip 安装 chatterbot,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/57652627/

相关文章:

python - 如何在 RedHat 上安装 pyautogui 模块

c# - 使用触发词将对话数据永久存储在 Azure 聊天机器人中

artificial-intelligence - 尝试启用 Dialogflow Messenger 时出现错误

python - PyQt5 曲线 QSlider

python - 尝试运行 jupyter notebook 时模块 'attr' 中的错误

python - 如何获取GAE上传的图片大小

python pip升级中断

python - 如何让 `pip install --editable` 运行 sdist 而不是开发?

chatbot - 使用 GPT-3 构建自定义聊天机器人

python - 在 Scrapy 中禁用 SSL 证书验证