gunthercox / ChatterBot

ChatterBot is a machine learning, conversational dialog engine for creating chat bots
https://chatterbot.readthedocs.io
BSD 3-Clause "New" or "Revised" License
14.03k stars 4.43k forks source link

'pip install chatterbot' error #2305

Open MisticVoid82 opened 1 year ago

MisticVoid82 commented 1 year ago

Here is what happened when I installed chatter bot with 'pip install chatterbot' How do i fix it? here is the error message: Looking in indexes: https://pypi.org/simple, https://us-python.pkg.dev/colab-wheels/public/simple/ Collecting chatterbot Using cached ChatterBot-1.0.5-py2.py3-none-any.whl (67 kB) Requirement already satisfied: nltk<4.0,>=3.2 in /usr/local/lib/python3.9/dist-packages (from chatterbot) (3.8.1) Collecting spacy<2.2,>=2.1 Using cached spacy-2.1.9.tar.gz (30.7 MB) error: subprocess-exited-with-error

× pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip. Installing build dependencies ... error error: subprocess-exited-with-error

× pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> See above for output.

note: This error originates from a subproc

auckwrck196 commented 1 year ago

i have the same error, not sure how to fix

ezawadzki commented 1 year ago

@MisticVoid82 Did you try an earlier python version then 3.9 ?

LordLancelotTheThird commented 1 year ago

I have the same error too was about to file an issue about it.

woandms commented 1 year ago

Install earlier versions of python or maybe earlier versions of the library

woandms commented 1 year ago

if the issue keeps on repeating install this https://visualstudio.microsoft.com/visual-cpp-build-tools/

joukepouke-pers commented 1 year ago

i also have this. anyone know a fork that works?

ShoneGK commented 1 year ago

There are countless forks of chatterbot, you can try my fork if you wish. https://github.com/ShoneGK/ChatterPy

Note that this fork also should work on newer versions of python

ShazamBolt8 commented 1 year ago

Note that this fork also should work on newer versions of python

You do realize it still requires Chatterbot? Running basic example would still say, no module named Chatterbot is found.

geeky-devil commented 11 months ago

Using python 3.7.0 gets it installed.

RohnRoy commented 10 months ago

Using cached spacy-2.1.9.tar.gz (30.7 MB) Installing build dependencies ... error error: subprocess-exited-with-error

× pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> [321 lines of output] Collecting setuptools Using cached setuptools-68.2.2-py3-none-any.whl.metadata (6.3 kB) Collecting wheel<0.33.0,>0.32.0 Using cached wheel-0.32.3-py2.py3-none-any.whl (21 kB) Collecting Cython Using cached Cython-3.0.5-cp311-cp311-win_amd64.whl.metadata (3.2 kB) Collecting cymem<2.1.0,>=2.0.2 Same error occurs. How to fix?

russellemma10 commented 10 months ago

I am still having this error - please can anyone advise me further?

bernardopg commented 7 months ago

Try this:

pip install chatterbot==1.0.4

duongbk24 commented 6 months ago

Try this:

pip install chatterbot==1.0.4

Thks you.

reagannchaupa commented 5 months ago

Try this:

pip install chatterbot==1.0.4

This worked, thanks.