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.04k stars 4.44k forks source link

Error on installation of chatterbot #2339

Open froilanimnida opened 10 months ago

froilanimnida commented 10 months ago

Hello i got this version related error i tried to downgrade and upgrade my wheel version but i got the same error.

  ERROR: Some build dependencies for preshed<2.1.0,>=2.0.1 from https://files.pythonhosted.org/packages/0b/14/c9aa735cb9c131545fc9e23031baccb87041ac9215b3d75f99e3cf18f6a3/preshed-2.0.1.tar.gz conflict with the backend dependencies: wheel==0.42.0 is incompatible with wheel>=0.32.0,<0.33.0.
  [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip. 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. image

wolf-rainer commented 9 months ago

Same issue here in a completely fresh venv with Python 3.9.2. Looks like preshed's wheel is too modern ;)

ERROR: Some build dependencies for preshed<2.1.0,>=2.0.1 from https://files.pythonhosted.org/packages/0b/14/c9aa735cb9c131545fc9e23031baccb87041ac9215b3d75f99e3cf18f6a3/preshed-2.0.1.tar.gz conflict with the backend dependencies: wheel==0.42.0 is incompatible with wheel>=0.32.0,<0.33.0.

froilanimnida commented 9 months ago

Same issue here in a completely fresh venv with Python 3.9.2. Looks like preshed's wheel is too modern ;)

ERROR: Some build dependencies for preshed<2.1.0,>=2.0.1 from https://files.pythonhosted.org/packages/0b/14/c9aa735cb9c131545fc9e23031baccb87041ac9215b3d75f99e3cf18f6a3/preshed-2.0.1.tar.gz conflict with the backend dependencies: wheel==0.42.0 is incompatible with wheel>=0.32.0,<0.33.0.

yup i try downgrading the wheel but the issue still persists. hope it'll be fix soon.

SuchanaNag002 commented 8 months ago

My issue got solved on doing pip install "chatterbot==1.0.0"

froilanimnida commented 8 months ago

My issue got solved on doing pip install "chatterbot==1.0.0"

alright i will try to install it again very soon, thanks!

yanhackcode15 commented 8 months ago

pip install "chatterbot==1.0.0"

that totally worked. I've been trying diff things for hours. this did it. thx. I also use python 3.8 and have also downgraded spacy to 32

froilanimnida commented 8 months ago

My issue got solved on doing pip install "chatterbot==1.0.0"

For everyone who's facing the same error stated above, kindly run this thing. It worked on my machine.