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

error while installing chatterbot in pycharm please help guys #2021

Closed
gopi2104 opened this issue Aug 13, 2020 · 3 comments
Closed

error while installing chatterbot in pycharm please help guys #2021

gopi2104 opened this issue Aug 13, 2020 · 3 comments
Labels

Comments

@gopi2104
Copy link

(bot_env) C:\Users\user\Desktop\ChatBot>pip install ChatterBot
Collecting ChatterBot
Using cached ChatterBot-1.0.5-py2.py3-none-any.whl (67 kB)
Collecting mathparse<0.2,>=0.1
Using cached mathparse-0.1.2-py3-none-any.whl (7.2 kB)
Collecting nltk<4.0,>=3.2
Using cached nltk-3.5.zip (1.4 MB)
Collecting python-dateutil<2.8,>=2.7
Using cached python_dateutil-2.7.5-py2.py3-none-any.whl (225 kB)
Collecting pymongo<4.0,>=3.3
Using cached pymongo-3.11.0-cp38-cp38-win32.whl (376 kB)
Collecting sqlalchemy<1.3,>=1.2
Using cached SQLAlchemy-1.2.19.tar.gz (5.7 MB)
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\user\Desktop\ChatBot\bot_env\Scripts\python.exe' 'C:\Users\user\Desktop\ChatBot\bot_env\lib\site-packages\pip' install --ignore-installed --no-
user --prefix 'C:\Users\user\AppData\Local\Temp\pip-build-env-zxcswwym\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 (417 lines):
Collecting setuptools
Using cached setuptools-49.4.0-py3-none-any.whl (803 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.21-cp38-cp38-win32.whl (1.6 MB)
Collecting cymem<2.1.0,>=2.0.2
Using cached cymem-2.0.3.tar.gz (51 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.tar.gz (35 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)
Processing c:\users\user\appdata\local\pip\cache\wheels\f2\d4\16\366223ea944794b7a8ff2194de44033ceef210e8d8bb76fe79\wasabi-0.7.1-py3-none-any.whl
Collecting srsly<1.1.0,>=0.0.6
Using cached srsly-1.0.2.tar.gz (192 kB)
Collecting numpy>=1.7.0
Using cached numpy-1.19.1-cp38-cp38-win32.whl (10.9 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.48.2-py2.py3-none-any.whl (68 kB)
Building wheels for collected packages: cymem, preshed, murmurhash, thinc, blis, srsly
Building wheel for cymem (setup.py): started
Building wheel for cymem (setup.py): finished with status 'error'
ERROR: Command errored out with exit status 1:
command: 'C:\Users\user\Desktop\ChatBot\bot_env\Scripts\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\user\AppData\Local
\Temp\pip-install-p7xpatnb\cymem\setup.py'"'"'; file='"'"'C:\Users\user\AppData\Local\Temp\pip-install-p7xpatnb\cymem\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:\Use
rs\user\AppData\Local\Temp\pip-wheel-6xypxmxh'
cwd: C:\Users\user\AppData\Local\Temp\pip-install-p7xpatnb\cymem
Complete output (17 lines):
running bdist_wheel
running build
running build_py
creating build
creating build\lib.win32-3.8
creating build\lib.win32-3.8\cymem
copying cymem\about.py -> build\lib.win32-3.8\cymem
copying cymem_init_.py -> build\lib.win32-3.8\cymem
package init file 'cymem\tests_init_.py' not found (or not a regular file)
creating build\lib.win32-3.8\cymem\tests
copying cymem\tests\test_import.py -> build\lib.win32-3.8\cymem\tests
copying cymem\cymem.pyx -> build\lib.win32-3.8\cymem
copying cymem\cymem.pxd -> build\lib.win32-3.8\cymem
copying cymem_init_.pxd -> build\lib.win32-3.8\cymem
running build_ext
building 'cymem.cymem' 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 cymem
Running setup.py clean for cymem
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\user\Desktop\ChatBot\bot_env\Scripts\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\user\AppData\Local
\Temp\pip-install-p7xpatnb\preshed\setup.py'"'"'; file='"'"'C:\Users\user\AppData\Local\Temp\pip-install-p7xpatnb\preshed\setup.py'"'"';f=getattr(toke
nize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' bdist_wheel -d 'C:
\Users\user\AppData\Local\Temp\pip-wheel-wrzqzhhi'
cwd: C:\Users\user\AppData\Local\Temp\pip-install-p7xpatnb\preshed
Complete output (21 lines):
running bdist_wheel
running build
running build_py
creating build
creating build\lib.win32-3.8
creating build\lib.win32-3.8\preshed
copying preshed\about.py -> build\lib.win32-3.8\preshed
copying preshed_init_.py -> build\lib.win32-3.8\preshed
creating build\lib.win32-3.8\preshed\tests
copying preshed\tests\test_counter.py -> build\lib.win32-3.8\preshed\tests
copying preshed\tests\test_hashing.py -> build\lib.win32-3.8\preshed\tests
copying preshed\tests\test_pop.py -> build\lib.win32-3.8\preshed\tests
copying preshed\tests_init_.py -> build\lib.win32-3.8\preshed\tests
copying preshed\counter.pyx -> build\lib.win32-3.8\preshed
copying preshed\maps.pyx -> build\lib.win32-3.8\preshed
copying preshed\counter.pxd -> build\lib.win32-3.8\preshed
copying preshed\maps.pxd -> build\lib.win32-3.8\preshed
copying preshed_init_.pxd -> build\lib.win32-3.8\preshed
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 murmurhash (setup.py): started
Building wheel for murmurhash (setup.py): finished with status 'error'
ERROR: Command errored out with exit status 1:
command: 'C:\Users\user\Desktop\ChatBot\bot_env\Scripts\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\user\AppData\Local
\Temp\pip-install-p7xpatnb\murmurhash\setup.py'"'"'; file='"'"'C:\Users\user\AppData\Local\Temp\pip-install-p7xpatnb\murmurhash\setup.py'"'"';f=getatt
r(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' bdist_wheel
-d 'C:\Users\user\AppData\Local\Temp\pip-wheel-rtfezkhm'
cwd: C:\Users\user\AppData\Local\Temp\pip-install-p7xpatnb\murmurhash
Complete output (22 lines):
running bdist_wheel
running build
running build_py
creating build
creating build\lib.win32-3.8
creating build\lib.win32-3.8\murmurhash
copying murmurhash\about.py -> build\lib.win32-3.8\murmurhash
copying murmurhash_init_.py -> build\lib.win32-3.8\murmurhash
creating build\lib.win32-3.8\murmurhash\tests
copying murmurhash\tests\test_against_mmh3.py -> build\lib.win32-3.8\murmurhash\tests
copying murmurhash\tests\test_import.py -> build\lib.win32-3.8\murmurhash\tests
copying murmurhash\tests_init_.py -> build\lib.win32-3.8\murmurhash\tests
copying murmurhash\mrmr.pyx -> build\lib.win32-3.8\murmurhash
copying murmurhash\mrmr.pxd -> build\lib.win32-3.8\murmurhash
copying murmurhash_init_.pxd -> build\lib.win32-3.8\murmurhash
creating build\lib.win32-3.8\murmurhash\include
creating build\lib.win32-3.8\murmurhash\include\murmurhash
copying murmurhash\include\murmurhash\MurmurHash2.h -> build\lib.win32-3.8\murmurhash\include\murmurhash
copying murmurhash\include\murmurhash\MurmurHash3.h -> build\lib.win32-3.8\murmurhash\include\murmurhash
running build_ext
building 'murmurhash.mrmr' 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 murmurhash
Running setup.py clean for murmurhash
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: 'C:\Users\user\Desktop\ChatBot\bot_env\Scripts\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\user\AppData\Local
\Temp\pip-install-p7xpatnb\thinc\setup.py'"'"'; file='"'"'C:\Users\user\AppData\Local\Temp\pip-install-p7xpatnb\thinc\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:\Use
rs\user\AppData\Local\Temp\pip-wheel-f0gp_5sr'
cwd: C:\Users\user\AppData\Local\Temp\pip-install-p7xpatnb\thinc
Complete output (166 lines):
running bdist_wheel
running build
running build_py
creating build
creating build\lib.win32-3.8
creating build\lib.win32-3.8\thinc
copying thinc\about.py -> build\lib.win32-3.8\thinc
copying thinc\api.py -> build\lib.win32-3.8\thinc
copying thinc\check.py -> build\lib.win32-3.8\thinc
copying thinc\compat.py -> build\lib.win32-3.8\thinc
copying thinc\describe.py -> build\lib.win32-3.8\thinc
copying thinc\exceptions.py -> build\lib.win32-3.8\thinc
copying thinc\i2v.py -> build\lib.win32-3.8\thinc
copying thinc\loss.py -> build\lib.win32-3.8\thinc
copying thinc\misc.py -> build\lib.win32-3.8\thinc
copying thinc\rates.py -> build\lib.win32-3.8\thinc
copying thinc\t2t.py -> build\lib.win32-3.8\thinc
copying thinc\t2v.py -> build\lib.win32-3.8\thinc
copying thinc\v2v.py -> build\lib.win32-3.8\thinc
copying thinc_init_.py -> build\lib.win32-3.8\thinc
creating build\lib.win32-3.8\thinc\tests
copying thinc\tests\conftest.py -> build\lib.win32-3.8\thinc\tests
copying thinc\tests\strategies.py -> build\lib.win32-3.8\thinc\tests
copying thinc\tests\test_api_funcs.py -> build\lib.win32-3.8\thinc\tests
copying thinc\tests\test_util.py -> build\lib.win32-3.8\thinc\tests
copying thinc\tests\util.py -> build\lib.win32-3.8\thinc\tests
copying thinc\tests_init_.py -> build\lib.win32-3.8\thinc\tests
creating build\lib.win32-3.8\thinc\tests\unit
copying thinc\tests\unit\test_about.py -> build\lib.win32-3.8\thinc\tests\unit
copying thinc\tests\unit\test_affine.py -> build\lib.win32-3.8\thinc\tests\unit
copying thinc\tests\unit\test_beam_search.py -> build\lib.win32-3.8\thinc\tests\unit
copying thinc\tests\unit\test_check_exceptions.py -> build\lib.win32-3.8\thinc\tests\unit
copying thinc\tests\unit\test_difference.py -> build\lib.win32-3.8\thinc\tests\unit
copying thinc\tests\unit\test_feature_extracter.py -> build\lib.win32-3.8\thinc\tests\unit
copying thinc\tests\unit\test_hash_embed.py -> build\lib.win32-3.8\thinc\tests\unit
copying thinc\tests\unit\test_imports.py -> build\lib.win32-3.8\thinc\tests\unit
copying thinc\tests\unit\test_linear.py -> build\lib.win32-3.8\thinc\tests\unit
copying thinc\tests\unit\test_loss.py -> build\lib.win32-3.8\thinc\tests\unit
copying thinc\tests\unit\test_mem.py -> build\lib.win32-3.8\thinc\tests\unit
copying thinc\tests\unit\test_model.py -> build\lib.win32-3.8\thinc\tests\unit
copying thinc\tests\unit\test_ops.py -> build\lib.win32-3.8\thinc\tests\unit
copying thinc\tests\unit\test_pickle.py -> build\lib.win32-3.8\thinc\tests\unit
copying thinc\tests\unit\test_pooling.py -> build\lib.win32-3.8\thinc\tests\unit
copying thinc\tests\unit\test_pytorch_wrapper.py -> build\lib.win32-3.8\thinc\tests\unit
copying thinc\tests\unit\test_rates.py -> build\lib.win32-3.8\thinc\tests\unit
copying thinc\tests\unit\test_rnn.py -> build\lib.win32-3.8\thinc\tests\unit
copying thinc\tests\unit_init_.py -> build\lib.win32-3.8\thinc\tests\unit
creating build\lib.win32-3.8\thinc\tests\integration
copying thinc\tests\integration\test_affine_learns.py -> build\lib.win32-3.8\thinc\tests\integration
copying thinc\tests\integration\test_basic_tagger.py -> build\lib.win32-3.8\thinc\tests\integration
copying thinc\tests\integration\test_batch_norm.py -> build\lib.win32-3.8\thinc\tests\integration
copying thinc\tests\integration\test_feed_forward.py -> build\lib.win32-3.8\thinc\tests\integration
copying thinc\tests\integration\test_mnist.py -> build\lib.win32-3.8\thinc\tests\integration
copying thinc\tests\integration\test_pickle.py -> build\lib.win32-3.8\thinc\tests\integration
copying thinc\tests\integration\test_roundtrip_bytes.py -> build\lib.win32-3.8\thinc\tests\integration
copying thinc\tests\integration\test_shape_check.py -> build\lib.win32-3.8\thinc\tests\integration
copying thinc\tests\integration_init_.py -> build\lib.win32-3.8\thinc\tests\integration
creating build\lib.win32-3.8\thinc\tests\linear
copying thinc\tests\linear\test_avgtron.py -> build\lib.win32-3.8\thinc\tests\linear
copying thinc\tests\linear\test_linear.py -> build\lib.win32-3.8\thinc\tests\linear
copying thinc\tests\linear\test_sparse_array.py -> build\lib.win32-3.8\thinc\tests\linear
copying thinc\tests\linear_init_.py -> build\lib.win32-3.8\thinc\tests\linear
creating build\lib.win32-3.8\thinc\linear
copying thinc\linear_init_.py -> build\lib.win32-3.8\thinc\linear
creating build\lib.win32-3.8\thinc\neural
copying thinc\neural\mem.py -> build\lib.win32-3.8\thinc\neural
copying thinc\neural\pooling.py -> build\lib.win32-3.8\thinc\neural
copying thinc\neural\train.py -> build\lib.win32-3.8\thinc\neural
copying thinc\neural\util.py -> build\lib.win32-3.8\thinc\neural
copying thinc\neural\vec2vec.py -> build\lib.win32-3.8\thinc\neural
copying thinc\neural\vecs2vec.py -> build\lib.win32-3.8\thinc\neural
copying thinc\neural\vecs2vecs.py -> build\lib.win32-3.8\thinc\neural
copying thinc\neural_lsuv.py -> build\lib.win32-3.8\thinc\neural
copying thinc\neural_init_.py -> build\lib.win32-3.8\thinc\neural
creating build\lib.win32-3.8\thinc\extra
copying thinc\extra\datasets.py -> build\lib.win32-3.8\thinc\extra
copying thinc\extra\hpbff.py -> build\lib.win32-3.8\thinc\extra
copying thinc\extra\load_nlp.py -> build\lib.win32-3.8\thinc\extra
copying thinc\extra\visualizer.py -> build\lib.win32-3.8\thinc\extra
copying thinc\extra\wrappers.py -> build\lib.win32-3.8\thinc\extra
copying thinc\extra_init_.py -> build\lib.win32-3.8\thinc\extra
creating build\lib.win32-3.8\thinc\neural_classes
copying thinc\neural_classes\affine.py -> build\lib.win32-3.8\thinc\neural_classes
copying thinc\neural_classes\attention.py -> build\lib.win32-3.8\thinc\neural_classes
copying thinc\neural_classes\batchnorm.py -> build\lib.win32-3.8\thinc\neural_classes
copying thinc\neural_classes\convolution.py -> build\lib.win32-3.8\thinc\neural_classes
copying thinc\neural_classes\difference.py -> build\lib.win32-3.8\thinc\neural_classes
copying thinc\neural_classes\elu.py -> build\lib.win32-3.8\thinc\neural_classes
copying thinc\neural_classes\embed.py -> build\lib.win32-3.8\thinc\neural_classes
copying thinc\neural_classes\encoder_decoder.py -> build\lib.win32-3.8\thinc\neural_classes
copying thinc\neural_classes\feature_extracter.py -> build\lib.win32-3.8\thinc\neural_classes
copying thinc\neural_classes\feed_forward.py -> build\lib.win32-3.8\thinc\neural_classes
copying thinc\neural_classes\function_layer.py -> build\lib.win32-3.8\thinc\neural_classes
copying thinc\neural_classes\hash_embed.py -> build\lib.win32-3.8\thinc\neural_classes
copying thinc\neural_classes\layernorm.py -> build\lib.win32-3.8\thinc\neural_classes
copying thinc\neural_classes\maxout.py -> build\lib.win32-3.8\thinc\neural_classes
copying thinc\neural_classes\model.py -> build\lib.win32-3.8\thinc\neural_classes
copying thinc\neural_classes\multiheaded_attention.py -> build\lib.win32-3.8\thinc\neural_classes
copying thinc\neural_classes\relu.py -> build\lib.win32-3.8\thinc\neural_classes
copying thinc\neural_classes\resnet.py -> build\lib.win32-3.8\thinc\neural_classes
copying thinc\neural_classes\rnn.py -> build\lib.win32-3.8\thinc\neural_classes
copying thinc\neural_classes\selu.py -> build\lib.win32-3.8\thinc\neural_classes
copying thinc\neural_classes\softmax.py -> build\lib.win32-3.8\thinc\neural_classes
copying thinc\neural_classes\static_vectors.py -> build\lib.win32-3.8\thinc\neural_classes
copying thinc\neural_classes_init_.py -> build\lib.win32-3.8\thinc\neural_classes
creating build\lib.win32-3.8\thinc\extra_vendorized
copying thinc\extra_vendorized\keras_datasets.py -> build\lib.win32-3.8\thinc\extra_vendorized
copying thinc\extra_vendorized\keras_data_utils.py -> build\lib.win32-3.8\thinc\extra_vendorized
copying thinc\extra_vendorized\keras_generic_utils.py -> build\lib.win32-3.8\thinc\extra_vendorized
copying thinc\extra_vendorized_init_.py -> build\lib.win32-3.8\thinc\extra_vendorized
creating build\lib.win32-3.8\thinc\extra\wrapt
copying thinc\extra\wrapt\decorators.py -> build\lib.win32-3.8\thinc\extra\wrapt
copying thinc\extra\wrapt\importer.py -> build\lib.win32-3.8\thinc\extra\wrapt
copying thinc\extra\wrapt\wrappers.py -> build\lib.win32-3.8\thinc\extra\wrapt
copying thinc\extra\wrapt_init_.py -> build\lib.win32-3.8\thinc\extra\wrapt
copying thinc\linalg.pyx -> build\lib.win32-3.8\thinc
copying thinc\structs.pyx -> build\lib.win32-3.8\thinc
copying thinc\typedefs.pyx -> build\lib.win32-3.8\thinc
copying thinc\cpu.pxd -> build\lib.win32-3.8\thinc
copying thinc\linalg.pxd -> build\lib.win32-3.8\thinc
copying thinc\structs.pxd -> build\lib.win32-3.8\thinc
copying thinc\typedefs.pxd -> build\lib.win32-3.8\thinc
copying thinc_init_.pxd -> build\lib.win32-3.8\thinc
copying thinc\compile_time_constants.pxi -> build\lib.win32-3.8\thinc
copying thinc\linalg.cpp -> build\lib.win32-3.8\thinc
copying thinc\structs.cpp -> build\lib.win32-3.8\thinc
copying thinc\typedefs.cpp -> build\lib.win32-3.8\thinc
copying thinc\linear\avgtron.pyx -> build\lib.win32-3.8\thinc\linear
copying thinc\linear\features.pyx -> build\lib.win32-3.8\thinc\linear
copying thinc\linear\linear.pyx -> build\lib.win32-3.8\thinc\linear
copying thinc\linear\serialize.pyx -> build\lib.win32-3.8\thinc\linear
copying thinc\linear\sparse.pyx -> build\lib.win32-3.8\thinc\linear
copying thinc\linear\avgtron.pxd -> build\lib.win32-3.8\thinc\linear
copying thinc\linear\features.pxd -> build\lib.win32-3.8\thinc\linear
copying thinc\linear\serialize.pxd -> build\lib.win32-3.8\thinc\linear
copying thinc\linear\sparse.pxd -> build\lib.win32-3.8\thinc\linear
copying thinc\linear_init_.pxd -> build\lib.win32-3.8\thinc\linear
copying thinc\linear\avgtron.cpp -> build\lib.win32-3.8\thinc\linear
copying thinc\linear\features.cpp -> build\lib.win32-3.8\thinc\linear
copying thinc\linear\linear.cpp -> build\lib.win32-3.8\thinc\linear
copying thinc\linear\serialize.cpp -> build\lib.win32-3.8\thinc\linear
copying thinc\linear\sparse.cpp -> build\lib.win32-3.8\thinc\linear
copying thinc\neural\ops.pyx -> build\lib.win32-3.8\thinc\neural
copying thinc\neural\optimizers.pyx -> build\lib.win32-3.8\thinc\neural
copying thinc\neural_aligned_alloc.pyx -> build\lib.win32-3.8\thinc\neural
copying thinc\neural\cpu.pxd -> build\lib.win32-3.8\thinc\neural
copying thinc\neural\ops.pxd -> build\lib.win32-3.8\thinc\neural
copying thinc\neural_init_.pxd -> build\lib.win32-3.8\thinc\neural
copying thinc\neural\ops.cpp -> build\lib.win32-3.8\thinc\neural
copying thinc\neural\optimizers.cpp -> build\lib.win32-3.8\thinc\neural
copying thinc\neural_aligned_alloc.cpp -> build\lib.win32-3.8\thinc\neural
copying thinc\extra\cache.pyx -> build\lib.win32-3.8\thinc\extra
copying thinc\extra\eg.pyx -> build\lib.win32-3.8\thinc\extra
copying thinc\extra\mb.pyx -> build\lib.win32-3.8\thinc\extra
copying thinc\extra\search.pyx -> build\lib.win32-3.8\thinc\extra
copying thinc\extra\cache.pxd -> build\lib.win32-3.8\thinc\extra
copying thinc\extra\eg.pxd -> build\lib.win32-3.8\thinc\extra
copying thinc\extra\mb.pxd -> build\lib.win32-3.8\thinc\extra
copying thinc\extra\search.pxd -> build\lib.win32-3.8\thinc\extra
copying thinc\extra_init_.pxd -> build\lib.win32-3.8\thinc\extra
copying thinc\extra\cache.cpp -> build\lib.win32-3.8\thinc\extra
copying thinc\extra\eg.cpp -> build\lib.win32-3.8\thinc\extra
copying thinc\extra\mb.cpp -> build\lib.win32-3.8\thinc\extra
copying thinc\extra\search.cpp -> build\lib.win32-3.8\thinc\extra
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: 'C:\Users\user\Desktop\ChatBot\bot_env\Scripts\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\user\AppData\Local
\Temp\pip-install-p7xpatnb\blis\setup.py'"'"'; file='"'"'C:\Users\user\AppData\Local\Temp\pip-install-p7xpatnb\blis\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
\user\AppData\Local\Temp\pip-wheel-18kamujl'
cwd: C:\Users\user\AppData\Local\Temp\pip-install-p7xpatnb\blis
Complete output (21 lines):
BLIS_COMPILER? None
running bdist_wheel
running build
running build_py
creating build
creating build\lib.win32-3.8
creating build\lib.win32-3.8\blis
copying blis\about.py -> build\lib.win32-3.8\blis
copying blis\benchmark.py -> build\lib.win32-3.8\blis
copying blis_init_.py -> build\lib.win32-3.8\blis
creating build\lib.win32-3.8\blis\tests
copying blis\tests\common.py -> build\lib.win32-3.8\blis\tests
copying blis\tests\test_dotv.py -> build\lib.win32-3.8\blis\tests
copying blis\tests\test_gemm.py -> build\lib.win32-3.8\blis\tests
copying blis\tests_init_.py -> build\lib.win32-3.8\blis\tests
copying blis\cy.pyx -> build\lib.win32-3.8\blis
copying blis\py.pyx -> build\lib.win32-3.8\blis
copying blis\cy.pxd -> build\lib.win32-3.8\blis
copying blis_init_.pxd -> build\lib.win32-3.8\blis
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
Building wheel for srsly (setup.py): started
Building wheel for srsly (setup.py): finished with status 'error'
ERROR: Command errored out with exit status 1:
command: 'C:\Users\user\Desktop\ChatBot\bot_env\Scripts\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\user\AppData\Local
\Temp\pip-install-p7xpatnb\srsly\setup.py'"'"'; file='"'"'C:\Users\user\AppData\Local\Temp\pip-install-p7xpatnb\srsly\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:\Use
rs\user\AppData\Local\Temp\pip-wheel-cbduwxcb'
cwd: C:\Users\user\AppData\Local\Temp\pip-install-p7xpatnb\srsly
Complete output (71 lines):
running bdist_wheel
running build
running build_py
creating build
creating build\lib.win32-3.8
creating build\lib.win32-3.8\srsly
copying srsly\about.py -> build\lib.win32-3.8\srsly
copying srsly\util.py -> build\lib.win32-3.8\srsly
copying srsly_json_api.py -> build\lib.win32-3.8\srsly
copying srsly_msgpack_api.py -> build\lib.win32-3.8\srsly
copying srsly_pickle_api.py -> build\lib.win32-3.8\srsly
copying srsly_init_.py -> build\lib.win32-3.8\srsly
creating build\lib.win32-3.8\srsly\cloudpickle
copying srsly\cloudpickle\cloudpickle.py -> build\lib.win32-3.8\srsly\cloudpickle
copying srsly\cloudpickle_init_.py -> build\lib.win32-3.8\srsly\cloudpickle
creating build\lib.win32-3.8\srsly\msgpack
copying srsly\msgpack\exceptions.py -> build\lib.win32-3.8\srsly\msgpack
copying srsly\msgpack\util.py -> build\lib.win32-3.8\srsly\msgpack
copying srsly\msgpack_ext_type.py -> build\lib.win32-3.8\srsly\msgpack
copying srsly\msgpack_msgpack_numpy.py -> build\lib.win32-3.8\srsly\msgpack
copying srsly\msgpack_version.py -> build\lib.win32-3.8\srsly\msgpack
copying srsly\msgpack_init_.py -> build\lib.win32-3.8\srsly\msgpack
creating build\lib.win32-3.8\srsly\tests
copying srsly\tests\test_json_api.py -> build\lib.win32-3.8\srsly\tests
copying srsly\tests\test_msgpack_api.py -> build\lib.win32-3.8\srsly\tests
copying srsly\tests\test_pickle_api.py -> build\lib.win32-3.8\srsly\tests
copying srsly\tests_init_.py -> build\lib.win32-3.8\srsly\tests
creating build\lib.win32-3.8\srsly\ujson
copying srsly\ujson_init_.py -> build\lib.win32-3.8\srsly\ujson
creating build\lib.win32-3.8\srsly\tests\cloudpickle
copying srsly\tests\cloudpickle\cloudpickle_file_test.py -> build\lib.win32-3.8\srsly\tests\cloudpickle
copying srsly\tests\cloudpickle\testutils.py -> build\lib.win32-3.8\srsly\tests\cloudpickle
copying srsly\tests\cloudpickle_init_.py -> build\lib.win32-3.8\srsly\tests\cloudpickle
creating build\lib.win32-3.8\srsly\tests\msgpack
copying srsly\tests\msgpack\test_buffer.py -> build\lib.win32-3.8\srsly\tests\msgpack
copying srsly\tests\msgpack\test_case.py -> build\lib.win32-3.8\srsly\tests\msgpack
copying srsly\tests\msgpack\test_except.py -> build\lib.win32-3.8\srsly\tests\msgpack
copying srsly\tests\msgpack\test_extension.py -> build\lib.win32-3.8\srsly\tests\msgpack
copying srsly\tests\msgpack\test_format.py -> build\lib.win32-3.8\srsly\tests\msgpack
copying srsly\tests\msgpack\test_limits.py -> build\lib.win32-3.8\srsly\tests\msgpack
copying srsly\tests\msgpack\test_memoryview.py -> build\lib.win32-3.8\srsly\tests\msgpack
copying srsly\tests\msgpack\test_newspec.py -> build\lib.win32-3.8\srsly\tests\msgpack
copying srsly\tests\msgpack\test_numpy.py -> build\lib.win32-3.8\srsly\tests\msgpack
copying srsly\tests\msgpack\test_pack.py -> build\lib.win32-3.8\srsly\tests\msgpack
copying srsly\tests\msgpack\test_read_size.py -> build\lib.win32-3.8\srsly\tests\msgpack
copying srsly\tests\msgpack\test_seq.py -> build\lib.win32-3.8\srsly\tests\msgpack
copying srsly\tests\msgpack\test_sequnpack.py -> build\lib.win32-3.8\srsly\tests\msgpack
copying srsly\tests\msgpack\test_stricttype.py -> build\lib.win32-3.8\srsly\tests\msgpack
copying srsly\tests\msgpack\test_subtype.py -> build\lib.win32-3.8\srsly\tests\msgpack
copying srsly\tests\msgpack\test_unpack.py -> build\lib.win32-3.8\srsly\tests\msgpack
copying srsly\tests\msgpack_init_.py -> build\lib.win32-3.8\srsly\tests\msgpack
creating build\lib.win32-3.8\srsly\tests\ujson
copying srsly\tests\ujson\test_ujson.py -> build\lib.win32-3.8\srsly\tests\ujson
copying srsly\tests\ujson_init_.py -> build\lib.win32-3.8\srsly\tests\ujson
copying srsly\msgpack_packer.pyx -> build\lib.win32-3.8\srsly\msgpack
copying srsly\msgpack_unpacker.pyx -> build\lib.win32-3.8\srsly\msgpack
copying srsly\msgpack\buff_converter.h -> build\lib.win32-3.8\srsly\msgpack
copying srsly\msgpack\pack.h -> build\lib.win32-3.8\srsly\msgpack
copying srsly\msgpack\pack_template.h -> build\lib.win32-3.8\srsly\msgpack
copying srsly\msgpack\sysdep.h -> build\lib.win32-3.8\srsly\msgpack
copying srsly\msgpack\unpack.h -> build\lib.win32-3.8\srsly\msgpack
copying srsly\msgpack\unpack_define.h -> build\lib.win32-3.8\srsly\msgpack
copying srsly\msgpack\unpack_template.h -> build\lib.win32-3.8\srsly\msgpack
copying srsly\ujson\JSONtoObj.c -> build\lib.win32-3.8\srsly\ujson
copying srsly\ujson\objToJSON.c -> build\lib.win32-3.8\srsly\ujson
copying srsly\ujson\ujson.c -> build\lib.win32-3.8\srsly\ujson
copying srsly\ujson\py_defines.h -> build\lib.win32-3.8\srsly\ujson
copying srsly\ujson\version.h -> build\lib.win32-3.8\srsly\ujson
running build_ext
building 'srsly.msgpack.unpacker' 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 srsly
Running setup.py clean for srsly
Failed to build cymem preshed murmurhash thinc blis srsly
Installing collected packages: setuptools, wheel, Cython, cymem, preshed, murmurhash, numpy, blis, wasabi, srsly, plac, tqdm, thinc
Running setup.py install for cymem: started
Running setup.py install for cymem: finished with status 'error'
ERROR: Command errored out with exit status 1:
command: 'C:\Users\user\Desktop\ChatBot\bot_env\Scripts\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\user\AppData\Loca
l\Temp\pip-install-p7xpatnb\cymem\setup.py'"'"'; file='"'"'C:\Users\user\AppData\Local\Temp\pip-install-p7xpatnb\cymem\setup.py'"'"';f=getattr(tokeni
ze, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record 'C:
\Users\user\AppData\Local\Temp\pip-record-i4yr7wu4\install-record.txt' --single-version-externally-managed --prefix 'C:\Users\user\AppData\Local\Temp\pip-build-env-z
xcswwym\overlay' --compile --install-headers 'C:\Users\user\Desktop\ChatBot\bot_env\include\site\python3.8\cymem'
cwd: C:\Users\user\AppData\Local\Temp\pip-install-p7xpatnb\cymem
Complete output (7 lines):
running install
running build
running build_py
package init file 'cymem\tests_init
.py' not found (or not a regular file)
running build_ext
building 'cymem.cymem' 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: 'C:\Users\user\Desktop\ChatBot\bot_env\Scripts\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"
'"'C:\Users\user\AppData\Local\Temp\pip-install-p7xpatnb\cymem\setup.py'"'"'; file='"'"'C:\Users\user\AppData\Local\Temp\pip-install-p7xpatnb\cyme
m\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\user\AppData\Local\Temp\pip-record-i4yr7wu4\install-record.txt' --single-version-externally-managed --prefix 'C:\Users\user\A
ppData\Local\Temp\pip-build-env-zxcswwym\overlay' --compile --install-headers 'C:\Users\user\Desktop\ChatBot\bot_env\include\site\python3.8\cymem' Check the logs for
full command output.
WARNING: You are using pip version 20.1.1; however, version 20.2.2 is available.
You should consider upgrading via the 'C:\Users\user\Desktop\ChatBot\bot_env\Scripts\python.exe -m pip install --upgrade pip' command.

ERROR: Command errored out with exit status 1: 'C:\Users\user\Desktop\ChatBot\bot_env\Scripts\python.exe' 'C:\Users\user\Desktop\ChatBot\bot_env\lib\site-packages\pi
p' install --ignore-installed --no-user --prefix 'C:\Users\user\AppData\Local\Temp\pip-build-env-zxcswwym\overlay' --no-warn-script-location --no-binary :none: --onl
y-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' 'thi
nc>=7.0.8,<7.1.0' Check the logs for full command output.

@gunthercox
Copy link
Owner

gunthercox commented Aug 19, 2020

It looks like this might be the relevant part of that lengthy message:

error: Microsoft Visual C++ 14.0 is required. Get it with "Build Tools for Visual Studio":
https://visualstudio.microsoft.com/downloads/

The error appears to have occurred while the spacey package was being installed.

@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.

@ayushmodi-038
Copy link

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.

I still have the same issue. Looks like it is not resolved in the latest release.

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

No branches or pull requests

3 participants