首页 > 解决方案 > 无法使用 pip 安装聊天机器人

问题描述

当我在“安装构建依赖项”之后执行命令 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'

标签: pythonpipchatbotchatterbot

解决方案


sudo apt-get update

然后运行

pip install chatterbot

如果这不起作用

跑:

git clone https://github.com/gunthercox/ChatterBot.git

进入刚刚创建的文件夹并运行:

pip install ./ChatterBot

推荐阅读