Skip to content
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

issue with installation of chatterbot #1985

Closed
shashiRS opened this issue May 27, 2020 · 2 comments
Closed

issue with installation of chatterbot #1985

shashiRS opened this issue May 27, 2020 · 2 comments

Comments

@shashiRS
Copy link

C:\Users\HP\Documents\corona-chatbot>pip install --upgrade chatterbot
Collecting chatterbot
Using cached ChatterBot-1.0.5-py2.py3-none-any.whl (67 kB)
Collecting pymongo<4.0,>=3.3
Using cached pymongo-3.10.1-cp38-cp38-win_amd64.whl (355 kB)
Collecting pytz
Using cached pytz-2020.1-py2.py3-none-any.whl (510 kB)
Collecting pyyaml<5.2,>=5.1
Using cached PyYAML-5.1.2.tar.gz (265 kB)
Requirement already satisfied, skipping upgrade: nltk<4.0,>=3.2 in c:\users\hp\appdata\local\programs\python\python38\lib\site-packages (from chatterbot) (3.4.5)
Collecting spacy<2.2,>=2.1
Using cached spacy-2.1.9.tar.gz (30.7 MB)
Installing build dependencies ... error
ERROR: Command errored out with exit status 1:
command: 'c:\users\hp\appdata\local\programs\python\python38\python.exe' 'c:\users\hp\appdata\local\programs\python\python38\lib\site-packages\pip' install --ignore-installed --no-user --prefix 'C:\Users\HP\AppData\Local\Temp\pip-build-env-czuy7t5v\overlay' --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- setuptools 'wheel>0.32.0,<0.33.0' Cython 'cymem>=2.0.2,<2.1.0' 'preshed>=2.0.1,<2.1.0' 'murmurhash>=0.28.0,<1.1.0' 'thinc>=7.0.8,<7.1.0'
cwd: None
Complete output (279 lines):
Collecting setuptools
Using cached setuptools-46.4.0-py3-none-any.whl (583 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-0.29.19-cp38-cp38-win_amd64.whl (1.7 MB)
Collecting cymem<2.1.0,>=2.0.2
Using cached cymem-2.0.3-cp38-cp38-win_amd64.whl (33 kB)
Collecting preshed<2.1.0,>=2.0.1
Using cached preshed-2.0.1.tar.gz (113 kB)
Collecting murmurhash<1.1.0,>=0.28.0
Using cached murmurhash-1.0.2-cp38-cp38-win_amd64.whl (20 kB)
Collecting thinc<7.1.0,>=7.0.8
Using cached thinc-7.0.8.tar.gz (1.9 MB)
Collecting blis<0.3.0,>=0.2.1
Using cached blis-0.2.4.tar.gz (1.5 MB)
Collecting wasabi<1.1.0,>=0.0.9
Using cached wasabi-0.6.0-py3-none-any.whl (20 kB)
Collecting srsly<1.1.0,>=0.0.6
Using cached srsly-1.0.2-cp38-cp38-win_amd64.whl (181 kB)
Collecting numpy>=1.7.0
Using cached numpy-1.18.4-cp38-cp38-win_amd64.whl (12.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.46.0-py2.py3-none-any.whl (63 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: Command errored out with exit status 1:
command: 'c:\users\hp\appdata\local\programs\python\python38\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\HP\AppData\Local\Temp\pip-install-tpi74apx\preshed\setup.py'"'"'; file='"'"'C:\Users\HP\AppData\Local\Temp\pip-install-tpi74apx\preshed\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' bdist_wheel -d 'C:\Users\HP\AppData\Local\Temp\pip-wheel-dnznkw1q'
cwd: C:\Users\HP\AppData\Local\Temp\pip-install-tpi74apx\preshed
Complete output (21 lines):
running bdist_wheel
running build
running build_py

Please do the needful

@justadhoc
Copy link

Try using python 3.7

@gunthercox
Copy link
Owner

I believe I may have corrected this issue as of the latest release (1.0.8) see #2027 for details. Essentially the solution I have decided to go with is that spacy is no longer going to be installed as a part of ChatterBot's default installation.

Fee free to let me know if this doesn't resolve your issue, or open a new ticket if you encounter any other problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants