python - 无法使用 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'
解决方案
跑
sudo apt-get update
然后运行
pip install chatterbot
如果这不起作用
跑:
git clone https://github.com/gunthercox/ChatterBot.git
进入刚刚创建的文件夹并运行:
pip install ./ChatterBot
推荐阅读
- azure - Azure devops 多阶段 YAML 结合手动交互
- angular - Angular Unit Test:如何覆盖服务存根方法订阅中的活动
- python - 将图像opencv c ++发送到python
- java - 切换命令提示符循环与地图
- azure - 在 CI 构建管道期间临时更新 appsettings.json 文件
- android - 如何让我的 SharedPreferences 对象在应用程序关闭后保存数据?
- python - pytest:导入文件与添加的 __init__.py 文件不匹配到测试目录
- python - 使用 python 3.7.3,我想要 base64 编码的照片并调整它的大小而不保存到文件到磁盘并使用 Image.open() 重新打开文件
- azure-blob-storage - Azure 数据湖端口连接
- delphi - 如何让表单的已发布属性出现在对象检查器中?