pip doesn't install chatterbot libary

112 Views Asked by At

When I try installing chatterbot, I get this error

Here is the link to the error: https://gist.github.com/SusgUY446/c2c2ae5a1c07aacb0191c35e34d0d0aa

2

There are 2 best solutions below

2
Talha Tayyab On BEST ANSWER

Unfortunately chatterbot only supports Python 3.8 and lower.

https://pypi.org/project/ChatterBot/

enter image description here

You need to downgrade your Python to 3.8 to use Chatterbot.

1
J_H On

The diagnostic was pretty clear.

The installer script needs to run the clang C compiler, but you didn't install a compiler and make it available to that script.

        running build_ext
        ...
        clang -c C:\Users\admin\AppData\Local\Temp\pip-install-rjabvilf\blis_4e316ba9fadc41da8c13b6e248bd31b9\blis\_src\config\bulldozer\bli_cntx_init_bulldozer.c -o ...
        error: [WinError 2] The system cannot find the file specified
        [end of output]

Either install a pre-built binary package, or install the build tools prerequisites. The chatterbot author doesn't seem to have put much effort into binary distributions, given that it doesn't appear in the conda-forge feedstock.