Open mrpaulenelson opened 1 year ago
I got the same error, have you found a solution ?
no, I haven't actually. Ugh.
same issue, spacy latest gets easily installed, but not the requirement version
okay so I got as far as we need python 3.8 to use pip chatterbot. I got as far as installing puthon3.8 but now I don't know how to get a command prompt to use python3.8 and the updated pip. But at least I got a tad further.
okay so I got as far as we need python 3.8 to use pip chatterbot. I got as far as installing puthon3.8 but now I don't know how to get a command prompt to use python3.8 and the updated pip. But at least I got a tad further.
So to use python3.8, you just run python3.8 for prompt and for pip you can also use pip3.8 install package.
Also I think that this repo is not currently maintained, so I switch for RASA framework that support python 3.9, 3.10.0
you cant pip chatterbot with pip that comes with python 3.8 though. That's my issue. If I run a python3.8 cmd prompt then it defaults to the older pip version as well. It says a newer version of pip is available and wont continue. It errors out. So switching to python 3.8 seems to fix the issue but my computer won't let me use the older version of pip. I think I am missing something I should be doing. It just feels like it to me. LOL. I am probably missing some easy way to upgrade pip from within python3.8 or something.
idk how it happened but i forked this, cleared version part of spacy
from requirements and boom, no bug yet.
this is the fork https://github.com/RaSan147/ChatterBot_update
to install pip install https://github.com/RaSan147/ChatterBot_update/archive/refs/heads/master.zip
hope you guys (or me) face no compatibility issue
From this link, you can see the dependencies of this library, which clearly shows that Python-3.8.0
is the latest version this library works with, since 2020 no development have taken place. I recommend to use pyenv
, as it helps to work with multiple versions of python, instead of working with single version.
My error @RaSan147
OSError: [E050] Can't find model 'en_core_web_sm'. It doesn't seem to be a Python package or a valid path to a data directory.
fix my error:
python3 -m spacy download en
I would recommend using a maintained fork of chatterbot as this repo isn't really updated anymore. you can try my fork : https://github.com/ShoneGK/ChatterPy
Collecting spacy<2.2,>=2.1 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 ╰─> [335 lines of output] Collecting setuptools Using cached setuptools-65.7.0-py3-none-any.whl (1.2 MB) 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-0.29.33-py2.py3-none-any.whl (987 kB) Collecting cymem<2.1.0,>=2.0.2 Using cached cymem-2.0.7-cp311-cp311-win_amd64.whl (28 kB) Collecting preshed<2.1.0,>=2.0.1 Using cached preshed-2.0.1.tar.gz (113 kB) Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Collecting murmurhash<1.1.0,>=0.28.0 Using cached murmurhash-1.0.9-cp311-cp311-win_amd64.whl (18 kB) Collecting thinc<7.1.0,>=7.0.8 Using cached thinc-7.0.8.tar.gz (1.9 MB) Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Collecting blis<0.3.0,>=0.2.1 Using cached blis-0.2.4.tar.gz (1.5 MB) Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Collecting wasabi<1.1.0,>=0.0.9 Using cached wasabi-0.10.1-py3-none-any.whl (26 kB) Collecting srsly<1.1.0,>=0.0.6 Using cached srsly-1.0.6-cp311-cp311-win_amd64.whl (194 kB) Collecting numpy>=1.7.0 Using cached numpy-1.24.1-cp311-cp311-win_amd64.whl (14.8 MB) Collecting plac<1.0.0,>=0.9.6 Using cached plac-0.9.6-py2.py3-none-any.whl (20 kB) Collecting tqdm<5.0.0,>=4.10.0 Using cached tqdm-4.64.1-py2.py3-none-any.whl (78 kB) Collecting colorama Using cached colorama-0.4.6-py2.py3-none-any.whl (25 kB) Building wheels for collected packages: preshed, thinc, blis Building wheel for preshed (setup.py): started Building wheel for preshed (setup.py): finished with status 'error' error: subprocess-exited-with-error
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. PS D:\Python\Pythontest\Apps>