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

Failed to install ChatterBot (v1.1.0) through PyCharm. #2080

Open krishnendudas1979 opened 3 years ago

krishnendudas1979 commented 3 years ago

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 https://github.com/pypa/pip/issues/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.

running build_ext
building 'preshed.maps' extension
error: Microsoft Visual C++ 14.0 is required. Get it with "Build Tools for Visual Studio": https://visualstudio.microsoft.com/downloads/
----------------------------------------
ERROR: Failed building wheel for preshed
Running setup.py clean for preshed
Building wheel for thinc (setup.py): started
Building wheel for thinc (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\\thinc_bd51eae97b87487ba0b69752d2e1c682\\setup.py'"'"'; __file__='"'"'C:\\Users\\bgh25154\\AppData\\Local\\Temp\\pip-install-p0xvvzvq\\thinc_bd51eae97b87487ba0b69752d2e1c682\\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-8wvak1rd'
     cwd: C:\Users\bgh25154\AppData\Local\Temp\pip-install-p0xvvzvq\thinc_bd51eae97b87487ba0b69752d2e1c682\
Complete output (168 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\thinc
copying thinc\about.py -> build\lib.win-amd64-3.8\thinc
copying thinc\api.py -> build\lib.win-amd64-3.8\thinc
copying thinc\check.py -> build\lib.win-amd64-3.8\thinc
copying thinc\compat.py -> build\lib.win-amd64-3.8\thinc
copying thinc\describe.py -> build\lib.win-amd64-3.8\thinc
copying thinc\exceptions.py -> build\lib.win-amd64-3.8\thinc
copying thinc\i2v.py -> build\lib.win-amd64-3.8\thinc
copying thinc\loss.py -> build\lib.win-amd64-3.8\thinc
copying thinc\misc.py -> build\lib.win-amd64-3.8\thinc
copying thinc\rates.py -> build\lib.win-amd64-3.8\thinc
copying thinc\t2t.py -> build\lib.win-amd64-3.8\thinc
copying thinc\t2v.py -> build\lib.win-amd64-3.8\thinc
copying thinc\v2v.py -> build\lib.win-amd64-3.8\thinc
copying thinc\__init__.py -> build\lib.win-amd64-3.8\thinc
creating build\lib.win-amd64-3.8\thinc\tests
copying thinc\tests\conftest.py -> build\lib.win-amd64-3.8\thinc\tests
copying thinc\tests\strategies.py -> build\lib.win-amd64-3.8\thinc\tests
copying thinc\tests\test_api_funcs.py -> build\lib.win-amd64-3.8\thinc\tests
copying thinc\tests\test_util.py -> build\lib.win-amd64-3.8\thinc\tests
copying thinc\tests\util.py -> build\lib.win-amd64-3.8\thinc\tests
copying thinc\tests\__init__.py -> build\lib.win-amd64-3.8\thinc\tests
creating build\lib.win-amd64-3.8\thinc\tests\unit
copying thinc\tests\unit\test_about.py -> build\lib.win-amd64-3.8\thinc\tests\unit
copying thinc\tests\unit\test_affine.py -> build\lib.win-amd64-3.8\thinc\tests\unit
copying thinc\tests\unit\test_beam_search.py -> build\lib.win-amd64-3.8\thinc\tests\unit
copying thinc\tests\unit\test_check_exceptions.py -> build\lib.win-amd64-3.8\thinc\tests\unit
copying thinc\tests\unit\test_difference.py -> build\lib.win-amd64-3.8\thinc\tests\unit
copying thinc\tests\unit\test_feature_extracter.py -> build\lib.win-amd64-3.8\thinc\tests\unit
copying thinc\tests\unit\test_hash_embed.py -> build\lib.win-amd64-3.8\thinc\tests\unit
copying thinc\tests\unit\test_imports.py -> build\lib.win-amd64-3.8\thinc\tests\unit
copying thinc\tests\unit\test_linear.py -> build\lib.win-amd64-3.8\thinc\tests\unit
copying thinc\tests\unit\test_loss.py -> build\lib.win-amd64-3.8\thinc\tests\unit
copying thinc\tests\unit\test_mem.py -> build\lib.win-amd64-3.8\thinc\tests\unit
copying thinc\tests\unit\test_model.py -> build\lib.win-amd64-3.8\thinc\tests\unit
copying thinc\tests\unit\test_ops.py -> build\lib.win-amd64-3.8\thinc\tests\unit
copying thinc\tests\unit\test_pickle.py -> build\lib.win-amd64-3.8\thinc\tests\unit
copying thinc\tests\unit\test_pooling.py -> build\lib.win-amd64-3.8\thinc\tests\unit
copying thinc\tests\unit\test_pytorch_wrapper.py -> build\lib.win-amd64-3.8\thinc\tests\unit
copying thinc\tests\unit\test_rates.py -> build\lib.win-amd64-3.8\thinc\tests\unit
copying thinc\tests\unit\test_rnn.py -> build\lib.win-amd64-3.8\thinc\tests\unit
copying thinc\tests\unit\__init__.py -> build\lib.win-amd64-3.8\thinc\tests\unit
creating build\lib.win-amd64-3.8\thinc\tests\integration
copying thinc\tests\integration\test_affine_learns.py -> build\lib.win-amd64-3.8\thinc\tests\integration
copying thinc\tests\integration\test_basic_tagger.py -> build\lib.win-amd64-3.8\thinc\tests\integration
copying thinc\tests\integration\test_batch_norm.py -> build\lib.win-amd64-3.8\thinc\tests\integration
copying thinc\tests\integration\test_feed_forward.py -> build\lib.win-amd64-3.8\thinc\tests\integration
copying thinc\tests\integration\test_mnist.py -> build\lib.win-amd64-3.8\thinc\tests\integration
copying thinc\tests\integration\test_pickle.py -> build\lib.win-amd64-3.8\thinc\tests\integration
copying thinc\tests\integration\test_roundtrip_bytes.py -> build\lib.win-amd64-3.8\thinc\tests\integration
copying thinc\tests\integration\test_shape_check.py -> build\lib.win-amd64-3.8\thinc\tests\integration
copying thinc\tests\integration\__init__.py -> build\lib.win-amd64-3.8\thinc\tests\integration
creating build\lib.win-amd64-3.8\thinc\tests\linear
copying thinc\tests\linear\test_avgtron.py -> build\lib.win-amd64-3.8\thinc\tests\linear
copying thinc\tests\linear\test_linear.py -> build\lib.win-amd64-3.8\thinc\tests\linear
copying thinc\tests\linear\test_sparse_array.py -> build\lib.win-amd64-3.8\thinc\tests\linear
copying thinc\tests\linear\__init__.py -> build\lib.win-amd64-3.8\thinc\tests\linear
creating build\lib.win-amd64-3.8\thinc\linear
copying thinc\linear\__init__.py -> build\lib.win-amd64-3.8\thinc\linear
creating build\lib.win-amd64-3.8\thinc\neural
copying thinc\neural\mem.py -> build\lib.win-amd64-3.8\thinc\neural
copying thinc\neural\pooling.py -> build\lib.win-amd64-3.8\thinc\neural
copying thinc\neural\train.py -> build\lib.win-amd64-3.8\thinc\neural
copying thinc\neural\util.py -> build\lib.win-amd64-3.8\thinc\neural
copying thinc\neural\vec2vec.py -> build\lib.win-amd64-3.8\thinc\neural
copying thinc\neural\vecs2vec.py -> build\lib.win-amd64-3.8\thinc\neural
copying thinc\neural\vecs2vecs.py -> build\lib.win-amd64-3.8\thinc\neural
copying thinc\neural\_lsuv.py -> build\lib.win-amd64-3.8\thinc\neural
copying thinc\neural\__init__.py -> build\lib.win-amd64-3.8\thinc\neural
creating build\lib.win-amd64-3.8\thinc\extra
copying thinc\extra\datasets.py -> build\lib.win-amd64-3.8\thinc\extra
copying thinc\extra\hpbff.py -> build\lib.win-amd64-3.8\thinc\extra
copying thinc\extra\load_nlp.py -> build\lib.win-amd64-3.8\thinc\extra
copying thinc\extra\visualizer.py -> build\lib.win-amd64-3.8\thinc\extra
copying thinc\extra\wrappers.py -> build\lib.win-amd64-3.8\thinc\extra
copying thinc\extra\__init__.py -> build\lib.win-amd64-3.8\thinc\extra
creating build\lib.win-amd64-3.8\thinc\neural\_classes
copying thinc\neural\_classes\affine.py -> build\lib.win-amd64-3.8\thinc\neural\_classes
copying thinc\neural\_classes\attention.py -> build\lib.win-amd64-3.8\thinc\neural\_classes
copying thinc\neural\_classes\batchnorm.py -> build\lib.win-amd64-3.8\thinc\neural\_classes
copying thinc\neural\_classes\convolution.py -> build\lib.win-amd64-3.8\thinc\neural\_classes
copying thinc\neural\_classes\difference.py -> build\lib.win-amd64-3.8\thinc\neural\_classes
copying thinc\neural\_classes\elu.py -> build\lib.win-amd64-3.8\thinc\neural\_classes
copying thinc\neural\_classes\embed.py -> build\lib.win-amd64-3.8\thinc\neural\_classes
copying thinc\neural\_classes\encoder_decoder.py -> build\lib.win-amd64-3.8\thinc\neural\_classes
copying thinc\neural\_classes\feature_extracter.py -> build\lib.win-amd64-3.8\thinc\neural\_classes
copying thinc\neural\_classes\feed_forward.py -> build\lib.win-amd64-3.8\thinc\neural\_classes
copying thinc\neural\_classes\function_layer.py -> build\lib.win-amd64-3.8\thinc\neural\_classes
copying thinc\neural\_classes\hash_embed.py -> build\lib.win-amd64-3.8\thinc\neural\_classes
copying thinc\neural\_classes\layernorm.py -> build\lib.win-amd64-3.8\thinc\neural\_classes
copying thinc\neural\_classes\maxout.py -> build\lib.win-amd64-3.8\thinc\neural\_classes
copying thinc\neural\_classes\model.py -> build\lib.win-amd64-3.8\thinc\neural\_classes
copying thinc\neural\_classes\multiheaded_attention.py -> build\lib.win-amd64-3.8\thinc\neural\_classes
copying thinc\neural\_classes\relu.py -> build\lib.win-amd64-3.8\thinc\neural\_classes
copying thinc\neural\_classes\resnet.py -> build\lib.win-amd64-3.8\thinc\neural\_classes
copying thinc\neural\_classes\rnn.py -> build\lib.win-amd64-3.8\thinc\neural\_classes
copying thinc\neural\_classes\selu.py -> build\lib.win-amd64-3.8\thinc\neural\_classes
copying thinc\neural\_classes\softmax.py -> build\lib.win-amd64-3.8\thinc\neural\_classes
copying thinc\neural\_classes\static_vectors.py -> build\lib.win-amd64-3.8\thinc\neural\_classes
copying thinc\neural\_classes\__init__.py -> build\lib.win-amd64-3.8\thinc\neural\_classes
creating build\lib.win-amd64-3.8\thinc\extra\_vendorized
copying thinc\extra\_vendorized\keras_datasets.py -> build\lib.win-amd64-3.8\thinc\extra\_vendorized
copying thinc\extra\_vendorized\keras_data_utils.py -> build\lib.win-amd64-3.8\thinc\extra\_vendorized
copying thinc\extra\_vendorized\keras_generic_utils.py -> build\lib.win-amd64-3.8\thinc\extra\_vendorized
copying thinc\extra\_vendorized\__init__.py -> build\lib.win-amd64-3.8\thinc\extra\_vendorized
creating build\lib.win-amd64-3.8\thinc\extra\wrapt
copying thinc\extra\wrapt\decorators.py -> build\lib.win-amd64-3.8\thinc\extra\wrapt
copying thinc\extra\wrapt\importer.py -> build\lib.win-amd64-3.8\thinc\extra\wrapt
copying thinc\extra\wrapt\wrappers.py -> build\lib.win-amd64-3.8\thinc\extra\wrapt
copying thinc\extra\wrapt\__init__.py -> build\lib.win-amd64-3.8\thinc\extra\wrapt
copying thinc\linalg.pyx -> build\lib.win-amd64-3.8\thinc
copying thinc\structs.pyx -> build\lib.win-amd64-3.8\thinc
copying thinc\typedefs.pyx -> build\lib.win-amd64-3.8\thinc
copying thinc\cpu.pxd -> build\lib.win-amd64-3.8\thinc
copying thinc\linalg.pxd -> build\lib.win-amd64-3.8\thinc
copying thinc\structs.pxd -> build\lib.win-amd64-3.8\thinc
copying thinc\typedefs.pxd -> build\lib.win-amd64-3.8\thinc
copying thinc\__init__.pxd -> build\lib.win-amd64-3.8\thinc
copying thinc\compile_time_constants.pxi -> build\lib.win-amd64-3.8\thinc
copying thinc\linalg.cpp -> build\lib.win-amd64-3.8\thinc
copying thinc\structs.cpp -> build\lib.win-amd64-3.8\thinc
copying thinc\typedefs.cpp -> build\lib.win-amd64-3.8\thinc
copying thinc\linear\avgtron.pyx -> build\lib.win-amd64-3.8\thinc\linear
copying thinc\linear\features.pyx -> build\lib.win-amd64-3.8\thinc\linear
copying thinc\linear\linear.pyx -> build\lib.win-amd64-3.8\thinc\linear
copying thinc\linear\serialize.pyx -> build\lib.win-amd64-3.8\thinc\linear
copying thinc\linear\sparse.pyx -> build\lib.win-amd64-3.8\thinc\linear
copying thinc\linear\avgtron.pxd -> build\lib.win-amd64-3.8\thinc\linear
copying thinc\linear\features.pxd -> build\lib.win-amd64-3.8\thinc\linear
copying thinc\linear\serialize.pxd -> build\lib.win-amd64-3.8\thinc\linear
copying thinc\linear\sparse.pxd -> build\lib.win-amd64-3.8\thinc\linear
copying thinc\linear\__init__.pxd -> build\lib.win-amd64-3.8\thinc\linear
copying thinc\linear\avgtron.cpp -> build\lib.win-amd64-3.8\thinc\linear
copying thinc\linear\features.cpp -> build\lib.win-amd64-3.8\thinc\linear
copying thinc\linear\linear.cpp -> build\lib.win-amd64-3.8\thinc\linear
copying thinc\linear\serialize.cpp -> build\lib.win-amd64-3.8\thinc\linear
copying thinc\linear\sparse.cpp -> build\lib.win-amd64-3.8\thinc\linear
copying thinc\neural\ops.pyx -> build\lib.win-amd64-3.8\thinc\neural
copying thinc\neural\optimizers.pyx -> build\lib.win-amd64-3.8\thinc\neural
copying thinc\neural\_aligned_alloc.pyx -> build\lib.win-amd64-3.8\thinc\neural
copying thinc\neural\cpu.pxd -> build\lib.win-amd64-3.8\thinc\neural
copying thinc\neural\ops.pxd -> build\lib.win-amd64-3.8\thinc\neural
copying thinc\neural\__init__.pxd -> build\lib.win-amd64-3.8\thinc\neural
copying thinc\neural\ops.cpp -> build\lib.win-amd64-3.8\thinc\neural
copying thinc\neural\optimizers.cpp -> build\lib.win-amd64-3.8\thinc\neural
copying thinc\neural\_aligned_alloc.cpp -> build\lib.win-amd64-3.8\thinc\neural
copying thinc\extra\cache.pyx -> build\lib.win-amd64-3.8\thinc\extra
copying thinc\extra\eg.pyx -> build\lib.win-amd64-3.8\thinc\extra
copying thinc\extra\mb.pyx -> build\lib.win-amd64-3.8\thinc\extra
copying thinc\extra\search.pyx -> build\lib.win-amd64-3.8\thinc\extra
copying thinc\extra\cache.pxd -> build\lib.win-amd64-3.8\thinc\extra
copying thinc\extra\eg.pxd -> build\lib.win-amd64-3.8\thinc\extra
copying thinc\extra\mb.pxd -> build\lib.win-amd64-3.8\thinc\extra
copying thinc\extra\search.pxd -> build\lib.win-amd64-3.8\thinc\extra
copying thinc\extra\__init__.pxd -> build\lib.win-amd64-3.8\thinc\extra
copying thinc\extra\cache.cpp -> build\lib.win-amd64-3.8\thinc\extra
copying thinc\extra\eg.cpp -> build\lib.win-amd64-3.8\thinc\extra
copying thinc\extra\mb.cpp -> build\lib.win-amd64-3.8\thinc\extra
copying thinc\extra\search.cpp -> build\lib.win-amd64-3.8\thinc\extra
warning: build_py: byte-compiling is disabled, skipping.

running build_ext
error: Microsoft Visual C++ 14.0 is required. Get it with "Build Tools for Visual Studio": https://visualstudio.microsoft.com/downloads/
----------------------------------------
ERROR: Failed building wheel for thinc
Running setup.py clean for thinc
Building wheel for blis (setup.py): started
Building wheel for blis (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\\blis_2b4c26321f554dae9c96c87ec2510fbf\\setup.py'"'"'; __file__='"'"'C:\\Users\\bgh25154\\AppData\\Local\\Temp\\pip-install-p0xvvzvq\\blis_2b4c26321f554dae9c96c87ec2510fbf\\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-uu3mi8zn'
     cwd: C:\Users\bgh25154\AppData\Local\Temp\pip-install-p0xvvzvq\blis_2b4c26321f554dae9c96c87ec2510fbf\
Complete output (23 lines):
BLIS_COMPILER? None
running bdist_wheel
running build
running build_py
creating build
creating build\lib.win-amd64-3.8
creating build\lib.win-amd64-3.8\blis
copying blis\about.py -> build\lib.win-amd64-3.8\blis
copying blis\benchmark.py -> build\lib.win-amd64-3.8\blis
copying blis\__init__.py -> build\lib.win-amd64-3.8\blis
creating build\lib.win-amd64-3.8\blis\tests
copying blis\tests\common.py -> build\lib.win-amd64-3.8\blis\tests
copying blis\tests\test_dotv.py -> build\lib.win-amd64-3.8\blis\tests
copying blis\tests\test_gemm.py -> build\lib.win-amd64-3.8\blis\tests
copying blis\tests\__init__.py -> build\lib.win-amd64-3.8\blis\tests
copying blis\cy.pyx -> build\lib.win-amd64-3.8\blis
copying blis\py.pyx -> build\lib.win-amd64-3.8\blis
copying blis\cy.pxd -> build\lib.win-amd64-3.8\blis
copying blis\__init__.pxd -> build\lib.win-amd64-3.8\blis
warning: build_py: byte-compiling is disabled, skipping.

running build_ext
error: Microsoft Visual C++ 14.0 is required. Get it with "Build Tools for Visual Studio": https://visualstudio.microsoft.com/downloads/
----------------------------------------
ERROR: Failed building wheel for blis
Running setup.py clean for blis

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.

  running build_ext
  building 'preshed.maps' extension
  error: Microsoft Visual C++ 14.0 is required. Get it with "Build Tools for Visual Studio": https://visualstudio.microsoft.com/downloads/
  ----------------------------------------

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.

vaishnavi-1 commented 3 years ago

Is it getting installed through Command prompt?

vaishnavi-1 commented 3 years ago

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/ WARNING: Retrying (Retry(total=3, 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/ WARNING: Retrying (Retry(total=2, 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/ WARNING: Retrying (Retry(total=1, 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/ WARNING: Retrying (Retry(total=0, 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/ ERROR: Could not find a version that satisfies the requirement chatterbot ERROR: No matching distribution found for chatterbot

(chatterbot_example) C:\Users\hp>pip install chatterbot-corpus 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-corpus/ WARNING: Retrying (Retry(total=3, 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-corpus/ WARNING: Retrying (Retry(total=2, 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-corpus/ WARNING: Retrying (Retry(total=1, 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-corpus/ WARNING: Retrying (Retry(total=0, 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-corpus/ ERROR: Could not find a version that satisfies the requirement chatterbot-corpus ERROR: No matching distribution found for chatterbot-corpus

krishnendudas1979 commented 3 years ago

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 kind of error. NOTE:- Though its showing message as "Killed", but in actually I didn't kill the installation process.

ubuntu@ip-172-31-52-251:~/kdas$ pip3 install chatterbot Collecting chatterbot Using cached https://files.pythonhosted.org/packages/12/b7/d8a034fbef04cb50fc7a9f5c6b6d27f1db186ffd58f66d7301e16abfd9ca/ChatterBot-1.1.0-py2.py3-none-any.whl Collecting pytz (from chatterbot) Using cached https://files.pythonhosted.org/packages/12/f8/ff09af6ff61a3efaad5f61ba5facdf17e7722c4393f7d8a66674d2dbd29f/pytz-2020.4-py2.py3-none-any.whl Collecting python-dateutil<2.9,>=2.8 (from chatterbot) Using cached https://files.pythonhosted.org/packages/d4/70/d60450c3dd48ef87586924207ae8907090de0b306af2bce5d134d78615cb/python_dateutil-2.8.1-py2.py3-none-any.whl Collecting pint>=0.8.1 (from chatterbot) Using cached https://files.pythonhosted.org/packages/5f/0e/dd4fb17aed6bfbc168fd767cffb6ec20b634009b75fd8ea699ea244bff3c/Pint-0.16.1-py2.py3-none-any.whl Collecting sqlalchemy<1.4,>=1.3 (from chatterbot) Using cached https://files.pythonhosted.org/packages/08/4c/d81902b47d65c36d117c0ac8c4ce4f399e31ebacb9ed4c9e978fc017c0c9/SQLAlchemy-1.3.20-cp36-cp36m-manylinux1_x86_64.whl Collecting spacy<2.2,>=2.1 (from chatterbot) Using cached https://files.pythonhosted.org/packages/41/5b/e07dd3bf104237bce4b398558b104c8e500333d6f30eabe3fa9685356b7d/spacy-2.1.9-cp36-cp36m-manylinux1_x86_64.whl Collecting mathparse<0.2,>=0.1 (from chatterbot) Using cached https://files.pythonhosted.org/packages/c3/e5/4910fb85950cb960fcf3f5aabe1c8e55f5c9201788a1c1302b570a7e1f84/mathparse-0.1.2-py3-none-any.whl Collecting nltk<4.0,>=3.2 (from chatterbot) Collecting pyyaml<5.4,>=5.3 (from chatterbot) Collecting six>=1.5 (from python-dateutil<2.9,>=2.8->chatterbot) Using cached https://files.pythonhosted.org/packages/ee/ff/48bde5c0f013094d729fe4b0316ba2a24774b3ff1c52d924a8a4cb04078a/six-1.15.0-py2.py3-none-any.whl Collecting importlib-resources; python_version < "3.7" (from pint>=0.8.1->chatterbot) Using cached https://files.pythonhosted.org/packages/c5/1f/ec86d2a5c48ac6490d4471b297885603cf0e8da89d5ffbf0bce6e57f4d64/importlib_resources-3.3.0-py2.py3-none-any.whl Collecting importlib-metadata; python_version < "3.8" (from pint>=0.8.1->chatterbot) Using cached https://files.pythonhosted.org/packages/99/c7/4ccf2baa455613aa9e61372365aba8594ff2806c82189c31a6c65e7c679e/importlib_metadata-3.1.1-py3-none-any.whl Collecting packaging (from pint>=0.8.1->chatterbot) Using cached https://files.pythonhosted.org/packages/28/87/8edcf555adaf60d053ead881bc056079e29319b643ca710339ce84413136/packaging-20.7-py2.py3-none-any.whl Collecting requests<3.0.0,>=2.13.0 (from spacy<2.2,>=2.1->chatterbot) Using cached https://files.pythonhosted.org/packages/39/fc/f91eac5a39a65f75a7adb58eac7fa78871ea9872283fb9c44e6545998134/requests-2.25.0-py2.py3-none-any.whl Collecting murmurhash<1.1.0,>=0.28.0 (from spacy<2.2,>=2.1->chatterbot) Using cached https://files.pythonhosted.org/packages/83/e3/c1c55784a4de82ece935e515670c9da86f7766a3d4d680843ef87553b57a/murmurhash-1.0.4-cp36-cp36m-manylinux1_x86_64.whl Collecting blis<0.3.0,>=0.2.2 (from spacy<2.2,>=2.1->chatterbot) Using cached https://files.pythonhosted.org/packages/34/46/b1d0bb71d308e820ed30316c5f0a017cb5ef5f4324bcbc7da3cf9d3b075c/blis-0.2.4-cp36-cp36m-manylinux1_x86_64.whl Collecting plac<1.0.0,>=0.9.6 (from spacy<2.2,>=2.1->chatterbot) Using cached https://files.pythonhosted.org/packages/9e/9b/62c60d2f5bc135d2aa1d8c8a86aaf84edb719a59c7f11a4316259e61a298/plac-0.9.6-py2.py3-none-any.whl Collecting thinc<7.1.0,>=7.0.8 (from spacy<2.2,>=2.1->chatterbot) Using cached https://files.pythonhosted.org/packages/18/a5/9ace20422e7bb1bdcad31832ea85c52a09900cd4a7ce711246bfb92206ba/thinc-7.0.8-cp36-cp36m-manylinux1_x86_64.whl Collecting srsly<1.1.0,>=0.0.6 (from spacy<2.2,>=2.1->chatterbot) Collecting numpy>=1.15.0 (from spacy<2.2,>=2.1->chatterbot) Using cached https://files.pythonhosted.org/packages/a6/fc/36e52d0ae2aa502b211f1bcd2fdeec72d343d58224eabcdddc1bcb052db1/numpy-1.19.4-cp36-cp36m-manylinux1_x86_64.whl Collecting preshed<2.1.0,>=2.0.1 (from spacy<2.2,>=2.1->chatterbot) Using cached https://files.pythonhosted.org/packages/20/93/f222fb957764a283203525ef20e62008675fd0a14ffff8cc1b1490147c63/preshed-2.0.1-cp36-cp36m-manylinux1_x86_64.whl Collecting wasabi<1.1.0,>=0.2.0 (from spacy<2.2,>=2.1->chatterbot) Using cached https://files.pythonhosted.org/packages/1b/10/55f3cf6b52cc89107b3e1b88fcf39719392b377a3d78ca61da85934d0d10/wasabi-0.8.0-py3-none-any.whl Collecting cymem<2.1.0,>=2.0.2 (from spacy<2.2,>=2.1->chatterbot) Collecting click (from nltk<4.0,>=3.2->chatterbot) Using cached https://files.pythonhosted.org/packages/d2/3d/fa76db83bf75c4f8d338c2fd15c8d33fdd7ad23a9b5e57eb6c5de26b430e/click-7.1.2-py2.py3-none-any.whl Collecting tqdm (from nltk<4.0,>=3.2->chatterbot) Using cached https://files.pythonhosted.org/packages/8a/54/115f0c28a61d56674c3a5e05c46d6c3523ad196e1dcd3e2d8b119026df36/tqdm-4.54.1-py2.py3-none-any.whl Collecting regex (from nltk<4.0,>=3.2->chatterbot) Using cached https://files.pythonhosted.org/packages/5a/75/aca08032c9752a75acc60ff7f4e58f1a74164b996395f44727ffdb17ebaf/regex-2020.11.13-cp36-cp36m-manylinux1_x86_64.whl Collecting joblib (from nltk<4.0,>=3.2->chatterbot) Using cached https://files.pythonhosted.org/packages/fc/c9/f58220ac44a1592f79a343caba12f6837f9e0c04c196176a3d66338e1ea8/joblib-0.17.0-py3-none-any.whl Collecting zipp>=0.4; python_version < "3.8" (from importlib-resources; python_version < "3.7"->pint>=0.8.1->chatterbot) Using cached https://files.pythonhosted.org/packages/41/ad/6a4f1a124b325618a7fb758b885b68ff7b058eec47d9220a12ab38d90b1f/zipp-3.4.0-py3-none-any.whl Collecting pyparsing>=2.0.2 (from packaging->pint>=0.8.1->chatterbot) Using cached https://files.pythonhosted.org/packages/8a/bb/488841f56197b13700afd5658fc279a2025a39e22449b7cf29864669b15d/pyparsing-2.4.7-py2.py3-none-any.whl Collecting chardet<4,>=3.0.2 (from requests<3.0.0,>=2.13.0->spacy<2.2,>=2.1->chatterbot) Using cached https://files.pythonhosted.org/packages/bc/a9/01ffebfb562e4274b6487b4bb1ddec7ca55ec7510b22e4c51f14098443b8/chardet-3.0.4-py2.py3-none-any.whl Collecting idna<3,>=2.5 (from requests<3.0.0,>=2.13.0->spacy<2.2,>=2.1->chatterbot) Using cached https://files.pythonhosted.org/packages/a2/38/928ddce2273eaa564f6f50de919327bf3a00f091b5baba8dfa9460f3a8a8/idna-2.10-py2.py3-none-any.whl Collecting urllib3<1.27,>=1.21.1 (from requests<3.0.0,>=2.13.0->spacy<2.2,>=2.1->chatterbot) Using cached https://files.pythonhosted.org/packages/f5/71/45d36a8df68f3ebb098d6861b2c017f3d094538c0fb98fa61d4dc43e69b9/urllib3-1.26.2-py2.py3-none-any.whl Collecting certifi>=2017.4.17 (from requests<3.0.0,>=2.13.0->spacy<2.2,>=2.1->chatterbot) Using cached https://files.pythonhosted.org/packages/5e/a0/5f06e1e1d463903cf0c0eebeb751791119ed7a4b3737fdc9a77f1cdfb51f/certifi-2020.12.5-py2.py3-none-any.whl Installing collected packages: pytz, six, python-dateutil, zipp, importlib-resources, importlib-metadata, pyparsing, packaging, pint, sqlalchemy, chardet, idna, urllib3, certifi, requests, murmurhash, numpy, blis, plac, tqdm, wasabi, srsly, cymem, preshed, thinc, spacy, mathparse, click, regex, joblib, nltk, pyyaml, chatterbot Killed ubuntu@ip-172-31-52-251:~/kdas$

TheSecMaven commented 3 years ago

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, https://github.com/gunthercox/ChatterBot/pull/1963