Reputation: 1
I've been trying to install chatterbot with pip but when i did
pip install ChatterBot
it gave me this error:
note: This error originates from a subprocess, and is likely not a problem with pip.
error: legacy-install-failure
Encountered error while trying to install package.
preshed
note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure.
[end of output]
Upvotes: 0
Views: 2302
Reputation: 11
It's hard to say from what you've posted but for me it was that I used python 3.10. ChatterBot only works up to python 3.8 (see info in release 1.0.7 here: https://github.com/gunthercox/ChatterBot/releases). So check what version of python you have installed. If it's higher than 3.8 it might be the problem.
Upvotes: 1
Reputation: 9444
Could you try installing a specific version:
pip install chatterbot==1.0.2
or
pip install chatterbot==1.0.4
Change the version as needed.
Upvotes: 0