安装 chatterBot 时出错

新手上路,请多包涵

每当我尝试使用命令 pip install ChatterBot 安装 ChatterBot 时,它都会出现以下错误:

 Retrying (Retry(total=0, connect=None, read=None, redirect=None)) after connection broken by 'NewConnectionError('<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x0000000003687898>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed',)': /simple/chatterbot/
  Could not find a version that satisfies the requirement chatterbot (from versi
ons: )
No matching distribution found for chatterbot

我从 Python 3.6 降级到 2.7,但收到同样的错误。

我正在使用 Windows 8,Anaconda 2.7

原文由 Sumant GK 发布,翻译遵循 CC BY-SA 4.0 许可协议

阅读 913
2 个回答

您收到此错误是因为您尚未安装所需的软件包。我认为您需要先下载并安装它们,然后再尝试直接安装 chatterBot。您可以使用“pip”安装,也可以下载并使用“python”。

pip install path_where_you_have_downloaded_packages

或者

python path_where_you_have_downloaded_packages\setup.py 安装

试试吧。

原文由 Sumant GK 发布,翻译遵循 CC BY-SA 3.0 许可协议

试试这个它会安装:

 pip install chatterbot==1.0.4

原文由 Lokeshwar 发布,翻译遵循 CC BY-SA 4.0 许可协议

推荐问题