每当我尝试使用命令 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 许可协议
您收到此错误是因为您尚未安装所需的软件包。我认为您需要先下载并安装它们,然后再尝试直接安装 chatterBot。您可以使用“pip”安装,也可以下载并使用“python”。
或者
试试吧。