-
Notifications
You must be signed in to change notification settings - Fork 4.5k
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
Failed to install ChatterBot (v1.1.0) through PyCharm. #2080
Comments
Is it getting installed through Command prompt? |
I have the same issue..I'm also unable to install chatterbox and chatterbox-corpus in pycharm, command prompt and in anaconda also 😢 I have python 3.9 version. WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("HTTPSConnectionPool(host='pypi.org', port=443): Read timed out. (read timeout=15)")': /simple/chatterbot/ (chatterbot_example) C:\Users\hp>pip install chatterbot-corpus |
The issue I reported at first, was trying on windows laptop. Today I tried to install latest version of ChatterBot an AWS Ec2 instance (Ubuntu -18). Got diffrent
|
all logs show you are using the spacy-2.1.9.tar.gz, which needs to be updated to get to work on python 3.8 and above, this needs to be merged, #1963 |
Trying to install ChatterBot (v1.1.0) through PyCharm (Community Edition 2019.3.3 x64) and installed Python version is -- v3.8.6
D:\Python_project>python --version
Python 3.8.6
The installing is failing and getting error as --
Collecting ChatterBot==1.1.0
Using cached ChatterBot-1.1.0-py2.py3-none-any.whl (63 kB)
Requirement already satisfied: pytz in d:\software\python3.8.6-64\lib\site-packages (from ChatterBot==1.1.0) (2020.4)
Requirement already satisfied: nltk<4.0,>=3.2 in d:\software\python3.8.6-64\lib\site-packages (from ChatterBot==1.1.0) (3.5)
Requirement already satisfied: mathparse<0.2,>=0.1 in d:\software\python3.8.6-64\lib\site-packages (from ChatterBot==1.1.0) (0.1.2)
Requirement already satisfied: pint>=0.8.1 in d:\software\python3.8.6-64\lib\site-packages (from ChatterBot==1.1.0) (0.16.1)
Requirement already satisfied: regex in d:\software\python3.8.6-64\lib\site-packages (from nltk<4.0,>=3.2->ChatterBot==1.1.0) (2020.11.13)
Requirement already satisfied: joblib in d:\software\python3.8.6-64\lib\site-packages (from nltk<4.0,>=3.2->ChatterBot==1.1.0) (0.17.0)
Requirement already satisfied: tqdm in d:\software\python3.8.6-64\lib\site-packages (from nltk<4.0,>=3.2->ChatterBot==1.1.0) (4.54.1)
Requirement already satisfied: click in d:\software\python3.8.6-64\lib\site-packages (from nltk<4.0,>=3.2->ChatterBot==1.1.0) (7.1.2)
Requirement already satisfied: packaging in d:\software\python3.8.6-64\lib\site-packages (from pint>=0.8.1->ChatterBot==1.1.0) (20.7)
Requirement already satisfied: pyparsing>=2.0.2 in d:\software\python3.8.6-64\lib\site-packages (from packaging->pint>=0.8.1->ChatterBot==1.1.0) (2.4.7)
Collecting python-dateutil<2.9,>=2.8
Using cached python_dateutil-2.8.1-py2.py3-none-any.whl (227 kB)
Requirement already satisfied: six>=1.5 in d:\software\python3.8.6-64\lib\site-packages (from python-dateutil<2.9,>=2.8->ChatterBot==1.1.0) (1.15.0)
Collecting pyyaml<5.4,>=5.3
Using cached PyYAML-5.3.1-cp38-cp38-win_amd64.whl (219 kB)
Collecting spacy<2.2,>=2.1
Using cached spacy-2.1.9.tar.gz (30.7 MB)
Installing build dependencies: started
Installing build dependencies: still running...
Installing build dependencies: finished with status 'error'
DEPRECATION: The -b/--build/--build-dir/--build-directory option is deprecated and has no effect anymore. pip 21.1 will remove support for this functionality. A possible replacement is use the TMPDIR/TEMP/TMP environment variable, possibly combined with --no-clean. You can find discussion regarding this at pypa/pip#8333.
ERROR: Command errored out with exit status 1:
command: 'D:\Python_project\venv\Scripts\python.exe' 'D:\software\python3.8.6-64\lib\site-packages\pip' install --ignore-installed --no-user --prefix 'C:\Users\bgh25154\AppData\Local\Temp\pip-build-env-yz43l6b\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 (286 lines):
Collecting cymem<2.1.0,>=2.0.2
Using cached cymem-2.0.4-cp38-cp38-win_amd64.whl (36 kB)
Collecting Cython
Using cached Cython-0.29.21-cp38-cp38-win_amd64.whl (1.7 MB)
Collecting murmurhash<1.1.0,>=0.28.0
Using cached murmurhash-1.0.4-cp38-cp38-win_amd64.whl (21 kB)
Collecting preshed<2.1.0,>=2.0.1
Using cached preshed-2.0.1.tar.gz (113 kB)
Collecting setuptools
Using cached setuptools-50.3.2-py3-none-any.whl (785 kB)
Collecting thinc<7.1.0,>=7.0.8
Using cached thinc-7.0.8.tar.gz (1.9 MB)
Collecting wheel<0.33.0,>0.32.0
Using cached wheel-0.32.3-py2.py3-none-any.whl (21 kB)
Collecting blis<0.3.0,>=0.2.1
Using cached blis-0.2.4.tar.gz (1.5 MB)
Collecting numpy>=1.7.0
Using cached numpy-1.19.4-cp38-cp38-win_amd64.whl (13.0 MB)
Collecting plac<1.0.0,>=0.9.6
Using cached plac-0.9.6-py2.py3-none-any.whl (20 kB)
Collecting srsly<1.1.0,>=0.0.6
Using cached srsly-1.0.4-cp38-cp38-win_amd64.whl (287 kB)
Collecting tqdm<5.0.0,>=4.10.0
Using cached tqdm-4.54.1-py2.py3-none-any.whl (69 kB)
Collecting wasabi<1.1.0,>=0.0.9
Using cached wasabi-0.8.0-py3-none-any.whl (23 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: 'D:\Python_project\venv\Scripts\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\bgh25154\AppData\Local\Temp\pip-install-p0xvvzvq\preshed_ce345c272e0544caae37430a8c27ad64\setup.py'"'"'; file='"'"'C:\Users\bgh25154\AppData\Local\Temp\pip-install-p0xvvzvq\preshed_ce345c272e0544caae37430a8c27ad64\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\bgh25154\AppData\Local\Temp\pip-wheel-my3konf'
cwd: C:\Users\bgh25154\AppData\Local\Temp\pip-install-p0xvvzvq\preshed_ce345c272e0544caae37430a8c27ad64
Complete output (23 lines):
running bdist_wheel
running build
running build_py
creating build
creating build\lib.win-amd64-3.8
creating build\lib.win-amd64-3.8\preshed
copying preshed\about.py -> build\lib.win-amd64-3.8\preshed
copying preshed_init.py -> build\lib.win-amd64-3.8\preshed
creating build\lib.win-amd64-3.8\preshed\tests
copying preshed\tests\test_counter.py -> build\lib.win-amd64-3.8\preshed\tests
copying preshed\tests\test_hashing.py -> build\lib.win-amd64-3.8\preshed\tests
copying preshed\tests\test_pop.py -> build\lib.win-amd64-3.8\preshed\tests
copying preshed\tests_init.py -> build\lib.win-amd64-3.8\preshed\tests
copying preshed\counter.pyx -> build\lib.win-amd64-3.8\preshed
copying preshed\maps.pyx -> build\lib.win-amd64-3.8\preshed
copying preshed\counter.pxd -> build\lib.win-amd64-3.8\preshed
copying preshed\maps.pxd -> build\lib.win-amd64-3.8\preshed
copying preshed_init_.pxd -> build\lib.win-amd64-3.8\preshed
warning: build_py: byte-compiling is disabled, skipping.
Failed to build preshed thinc blis
Installing collected packages: numpy, cymem, wasabi, tqdm, srsly, preshed, plac, murmurhash, blis, wheel, thinc, setuptools, Cython
Running setup.py install for preshed: started
Running setup.py install for preshed: finished with status 'error'
ERROR: Command errored out with exit status 1:
command: 'D:\Python_project\venv\Scripts\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\bgh25154\AppData\Local\Temp\pip-install-p0xvvzvq\preshed_ce345c272e0544caae37430a8c27ad64\setup.py'"'"'; file='"'"'C:\Users\bgh25154\AppData\Local\Temp\pip-install-p0xvvzvq\preshed_ce345c272e0544caae37430a8c27ad64\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record 'C:\Users\bgh25154\AppData\Local\Temp\pip-record-0r2ojr59\install-record.txt' --single-version-externally-managed --prefix 'C:\Users\bgh25154\AppData\Local\Temp\pip-build-env-_yz43l6b\overlay' --compile --install-headers 'C:\Users\bgh25154\AppData\Local\Temp\pip-build-env-_yz43l6b\overlay\include\site\python3.8\preshed'
cwd: C:\Users\bgh25154\AppData\Local\Temp\pip-install-p0xvvzvq\preshed_ce345c272e0544caae37430a8c27ad64
Complete output (8 lines):
running install
running build
running build_py
warning: build_py: byte-compiling is disabled, skipping.
ERROR: Command errored out with exit status 1: 'D:\Python_project\venv\Scripts\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\bgh25154\AppData\Local\Temp\pip-install-p0xvvzvq\preshed_ce345c272e0544caae37430a8c27ad64\setup.py'"'"'; file='"'"'C:\Users\bgh25154\AppData\Local\Temp\pip-install-p0xvvzvq\preshed_ce345c272e0544caae37430a8c27ad64\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record 'C:\Users\bgh25154\AppData\Local\Temp\pip-record-0r2ojr59\install-record.txt' --single-version-externally-managed --prefix 'C:\Users\bgh25154\AppData\Local\Temp\pip-build-env-_yz43l6b\overlay' --compile --install-headers 'C:\Users\bgh25154\AppData\Local\Temp\pip-build-env-_yz43l6b\overlay\include\site\python3.8\preshed' Check the logs for full command output.
ERROR: Command errored out with exit status 1: 'D:\Python_project\venv\Scripts\python.exe' 'D:\software\python3.8.6-64\lib\site-packages\pip' install --ignore-installed --no-user --prefix 'C:\Users\bgh25154\AppData\Local\Temp\pip-build-env-_yz43l6b\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' Check the logs for full command output.
The text was updated successfully, but these errors were encountered: