-
Notifications
You must be signed in to change notification settings - Fork 4.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Chatterbot import error #2343
Comments
I'm having a similar issue, could you let me know if you were able to resolve? |
我也遇到了这样的问题,似乎是新的版本有问题,下载1.0.4的chatterbot是可行的,pip install chatterbot -i https://pypi.tuna.tsinghua.edu.cn/simple,然后可能会报错缺少哪些模块,下载即可。如果,报错module 'time' has no attribute 'clock',到sqlalchemy\util\compat.py,将原来的time_func = time.clock修改为time.将clock更改为perf_counter。 |
ChatterBot last update was 3 years ago. Maybe not active anymore? |
Same issue here, solved it by installing specific version |
while installing chatterbot using command pip install chatterbot.
I am getting the following error
pip install chatterbot
Collecting chatterbot
Using cached ChatterBot-1.0.5-py2.py3-none-any.whl (67 kB)
Collecting mathparse<0.2,>=0.1 (from chatterbot)
Using cached mathparse-0.1.2-py3-none-any.whl (7.2 kB)
Collecting nltk<4.0,>=3.2 (from chatterbot)
Using cached nltk-3.8.1-py3-none-any.whl (1.5 MB)
Collecting pint>=0.8.1 (from chatterbot)
Using cached Pint-0.23-py3-none-any.whl.metadata (8.1 kB)
Collecting pymongo<4.0,>=3.3 (from chatterbot)
Using cached pymongo-3.13.0-cp39-cp39-win_amd64.whl (394 kB)
Collecting python-dateutil<2.8,>=2.7 (from chatterbot)
Using cached python_dateutil-2.7.5-py2.py3-none-any.whl (225 kB)
Collecting pyyaml<5.2,>=5.1 (from chatterbot)
Using cached PyYAML-5.1.2.tar.gz (265 kB)
Preparing metadata (setup.py): started
Preparing metadata (setup.py): finished with status 'done'
Collecting spacy<2.2,>=2.1 (from chatterbot)
Using cached spacy-2.1.9.tar.gz (30.7 MB)
Installing build dependencies: started
Installing build dependencies: finished with status 'error'
Note: you may need to restart the kernel to use updated packages.
error: subprocess-exited-with-error
pip subprocess to install build dependencies did not run successfully.
exit code: 1
[153 lines of output]
Collecting setuptools
Using cached setuptools-69.0.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.6-cp39-cp39-win_amd64.whl.metadata (3.2 kB)
Collecting cymem<2.1.0,>=2.0.2
Using cached cymem-2.0.8-cp39-cp39-win_amd64.whl.metadata (8.6 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.10-cp39-cp39-win_amd64.whl.metadata (2.0 kB)
Collecting thinc<7.1.0,>=7.0.8
Using cached thinc-7.0.8-cp39-cp39-win_amd64.whl
Collecting blis<0.3.0,>=0.2.1 (from thinc<7.1.0,>=7.0.8)
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 (from thinc<7.1.0,>=7.0.8)
Using cached wasabi-0.10.1-py3-none-any.whl (26 kB)
Collecting srsly<1.1.0,>=0.0.6 (from thinc<7.1.0,>=7.0.8)
Using cached srsly-1.0.7-cp39-cp39-win_amd64.whl.metadata (14 kB)
Collecting numpy>=1.7.0 (from thinc<7.1.0,>=7.0.8)
Using cached numpy-1.26.2-cp39-cp39-win_amd64.whl.metadata (61 kB)
Collecting plac<1.0.0,>=0.9.6 (from thinc<7.1.0,>=7.0.8)
Using cached plac-0.9.6-py2.py3-none-any.whl (20 kB)
Collecting tqdm<5.0.0,>=4.10.0 (from thinc<7.1.0,>=7.0.8)
Using cached tqdm-4.66.1-py3-none-any.whl.metadata (57 kB)
Collecting colorama (from tqdm<5.0.0,>=4.10.0->thinc<7.1.0,>=7.0.8)
Using cached colorama-0.4.6-py2.py3-none-any.whl (25 kB)
Using cached setuptools-69.0.2-py3-none-any.whl (819 kB)
Using cached Cython-3.0.6-cp39-cp39-win_amd64.whl (2.8 MB)
Using cached cymem-2.0.8-cp39-cp39-win_amd64.whl (39 kB)
Using cached murmurhash-1.0.10-cp39-cp39-win_amd64.whl (25 kB)
Using cached numpy-1.26.2-cp39-cp39-win_amd64.whl (15.8 MB)
Using cached srsly-1.0.7-cp39-cp39-win_amd64.whl (358 kB)
Using cached tqdm-4.66.1-py3-none-any.whl (78 kB)
Building wheels for collected packages: preshed, blis
Building wheel for preshed (setup.py): started
Building wheel for preshed (setup.py): finished with status 'error'
error: subprocess-exited-with-error
Failed to build preshed blis
ERROR: Could not build wheels for preshed, blis, which is required to install pyproject.toml-based projects
[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.
Please solve the error and suggest best solution for this..Thanks in advance
The text was updated successfully, but these errors were encountered: