Chatterbot: am getting error while installing chatterbot. Copied the entire thing from CMD

Created on 27 Apr 2019  路  4Comments  路  Source: gunthercox/ChatterBot

:\Users\shubbane\Desktop\Chatbot_Project-master>pip install chatterbot
Collecting chatterbot
Using cached https://files.pythonhosted.org/packages/6c/0e/dac0d82f34f86bf509cf5ef3e2dfc5aa7d444bd843a2330ceb7d854f84f2/ChatterBot-1.0.5-py2.py3-none-any.whl
Collecting nltk<4.0,>=3.2 (from chatterbot)
Using cached https://files.pythonhosted.org/packages/6f/ed/9c755d357d33bc1931e157f537721efb5b88d2c583fe593cc09603076cc3/nltk-3.4.zip
Collecting pymongo<4.0,>=3.3 (from chatterbot)
Using cached https://files.pythonhosted.org/packages/1e/4e/bec80279eae8fc279316d73d3f8d0dc8bc088f122ea1444ef8fb3bb93ced/pymongo-3.7.2-cp37-cp37m-win32.whl
Collecting spacy<2.2,>=2.1 (from chatterbot)
Using cached https://files.pythonhosted.org/packages/77/f3/eb5aece989ecca541c4b5a439cb8a86fe5254b1521925b547609fb3aaf64/spacy-2.1.3.tar.gz
Installing build dependencies ... error
Complete output from command c:\users\shubbane\appdata\local\programs\python\python37-32\python.exe c:\users\shubbane\appdata\local\programs\python\python37-32\lib\site-packages\pip install --ignore-installed --no-user --prefix C:\Users\shubbane\AppData\Local\Temp\pip-build-env-n9wvlta4\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.0.dev6:
Collecting setuptools
Using cached https://files.pythonhosted.org/packages/44/56/75e64a8fbbe9e0bd30cfdd58ca1856bc0dc15a43e41504a58d8373f34213/setuptools-40.9.0-py2.py3-none-any.whl
Collecting wheel>0.32.0.<0.33.0
Using cached https://files.pythonhosted.org/packages/96/ba/a4702cbb6a3a485239fbe9525443446203f00771af9ac000fa3ef2788201/wheel-0.33.1-py2.py3-none-any.whl
Collecting Cython
Using cached https://files.pythonhosted.org/packages/0a/80/519ca446605826488935c9a2be44bca604d640786b0c3308abd9c9f28002/Cython-0.29.6-cp37-cp37m-win32.whl
Collecting cymem<2.1.0,>=2.0.2
Using cached https://files.pythonhosted.org/packages/eb/cb/4ff546a491f764f67284572d25c57927e3f17103adf979bc99d90128f3eb/cymem-2.0.2-cp37-cp37m-win32.whl
Collecting preshed<2.1.0,>=2.0.1
Using cached https://files.pythonhosted.org/packages/00/52/ef641ebb40e287b95e9742e7f3120dca0350d92b3d0ef050e5133acf8931/preshed-2.0.1-cp37-cp37m-win32.whl
Collecting murmurhash<1.1.0,>=0.28.0
Using cached https://files.pythonhosted.org/packages/22/e9/411be1845f1ac07ae3bc40a4b19ba401819baed4fa63b4f5ef28b2300eb4/murmurhash-1.0.2.tar.gz
Collecting thinc==7.0.0.dev6
Using cached https://files.pythonhosted.org/packages/f2/bf/3685c4718b547583bfe3a3d54db8f0f992e30b49db1ecbce8e5d8a4c7604/thinc-7.0.0.dev6.tar.gz
Collecting blis<0.3.0,>=0.2.1 (from thinc==7.0.0.dev6)
Using cached https://files.pythonhosted.org/packages/59/9e/84a83616cbe5daa94909da38b780e93bf566dc2113c3dc35d7b4cad52f63/blis-0.2.4.tar.gz
Collecting thinc_gpu_ops<0.1.0,>=0.0.1 (from thinc==7.0.0.dev6)
Using cached https://files.pythonhosted.org/packages/a4/ad/11ab80a24bcedd7dd0cfabaedba2ceaeca11f1aaeeff432a3d2e63ca7d02/thinc_gpu_ops-0.0.4.tar.gz
Collecting numpy>=1.7.0 (from thinc==7.0.0.dev6)
Using cached https://files.pythonhosted.org/packages/61/be/b4d697563d4a211596a350414a87612204a8bb987c4c1b34598cd4904f55/numpy-1.16.2-cp37-cp37m-win32.whl
Collecting wrapt<1.11.0,>=1.10.0 (from thinc==7.0.0.dev6)
Using cached https://files.pythonhosted.org/packages/a0/47/66897906448185fcb77fc3c2b1bc20ed0ecca81a0f2f88eda3fc5a34fc3d/wrapt-1.10.11.tar.gz
Collecting plac<1.0.0,>=0.9.6 (from thinc==7.0.0.dev6)
Using cached https://files.pythonhosted.org/packages/9e/9b/62c60d2f5bc135d2aa1d8c8a86aaf84edb719a59c7f11a4316259e61a298/plac-0.9.6-py2.py3-none-any.whl
Collecting tqdm<5.0.0,>=4.10.0 (from thinc==7.0.0.dev6)
Using cached https://files.pythonhosted.org/packages/6c/4b/c38b5144cf167c4f52288517436ccafefe9dc01b8d1c190e18a6b154cd4a/tqdm-4.31.1-py2.py3-none-any.whl
Collecting six<2.0.0,>=1.10.0 (from thinc==7.0.0.dev6)
Using cached https://files.pythonhosted.org/packages/73/fb/00a976f728d0d1fecfe898238ce23f502a721c0ac0ecfedb80e0d88c64e9/six-1.12.0-py2.py3-none-any.whl
Collecting wasabi<1.1.0,>=0.0.9 (from thinc==7.0.0.dev6)
Using cached https://files.pythonhosted.org/packages/76/6c/0376977df1ba9f0ec27835d80456d9284c79737cb5205649451db1181f01/wasabi-0.2.1-py3-none-any.whl
Collecting srsly<1.1.0,>=0.0.5 (from thinc==7.0.0.dev6)
Using cached https://files.pythonhosted.org/packages/05/df/6ad3ad1d2747b0ef17e674c8cf7f0cb5e5c0056ee6e9b2ebc88e55871cd4/srsly-0.0.5.tar.gz
Installing collected packages: setuptools, wheel, Cython, cymem, preshed, murmurhash, numpy, blis, thinc-gpu-ops, wrapt, plac, tqdm, six, wasabi, srsly, thinc
Running setup.py install for murmurhash: started
Running setup.py install for murmurhash: finished with status 'error'
Complete output from command c:\users\shubbane\appdata\local\programs\python\python37-32\python.exe -u -c "import setuptools, tokenize;file='C:\Users\shubbane\AppData\Local\Temp\pip-install-05kh0ds3\murmurhash\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\shubbane\AppData\Local\Temp\pip-record-jsl9w9wk\install-record.txt --single-version-externally-managed --prefix C:\Users\shubbane\AppData\Local\Temp\pip-build-env-n9wvlta4\overlay --compile:
running install
running build
running build_py
creating build
creating build\lib.win32-3.7
creating build\lib.win32-3.7\murmurhash
copying murmurhash\about.py -> build\lib.win32-3.7\murmurhash
copying murmurhash_init_.py -> build\lib.win32-3.7\murmurhash
creating build\lib.win32-3.7\murmurhash\tests
copying murmurhash\tests\test_against_mmh3.py -> build\lib.win32-3.7\murmurhash\tests
copying murmurhash\tests\test_import.py -> build\lib.win32-3.7\murmurhash\tests
copying murmurhash\tests_init_.py -> build\lib.win32-3.7\murmurhash\tests
copying murmurhash\mrmr.pyx -> build\lib.win32-3.7\murmurhash
copying murmurhash\mrmr.pxd -> build\lib.win32-3.7\murmurhash
copying murmurhash_init_.pxd -> build\lib.win32-3.7\murmurhash
creating build\lib.win32-3.7\murmurhash\include
creating build\lib.win32-3.7\murmurhash\include\murmurhash
copying murmurhash\include\murmurhash\MurmurHash2.h -> build\lib.win32-3.7\murmurhash\include\murmurhash
copying murmurhash\include\murmurhash\MurmurHash3.h -> build\lib.win32-3.7\murmurhash\include\murmurhash
running build_ext
building 'murmurhash.mrmr' extension
error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": https://visualstudio.microsoft.com/downloads/


Command "c:\users\shubbane\appdata\local\programs\python\python37-32\python.exe -u -c "import setuptools, tokenize;file='C:\Users\shubbane\AppData\Local\Temp\pip-install-05kh0ds3\murmurhash\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\shubbane\AppData\Local\Temp\pip-record-jsl9w9wk\install-record.txt --single-version-externally-managed --prefix C:\Users\shubbane\AppData\Local\Temp\pip-build-env-n9wvlta4\overlay --compile" failed with error code 1 in C:\Users\shubbane\AppData\Local\Temp\pip-install-05kh0ds3\murmurhash\

Command "c:\users\shubbane\appdata\local\programs\python\python37-32\python.exe c:\users\shubbane\appdata\local\programs\python\python37-32\lib\site-packages\pip install --ignore-installed --no-user --prefix C:\Users\shubbane\AppData\Local\Temp\pip-build-env-n9wvlta4\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.0.dev6" failed with error code 1 in None

Most helpful comment

Use 64 bit python and try again.

All 4 comments

Use 64 bit python and try again.

I have same problem

@Manav1918 Then you should use 64bit python as well :)

I believe the error you encountered that prevented ChatterBot from being installed has been resolved by #2027 and released in version 1.0.8. Please let me know if you encounter any further issues.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

coolrb picture coolrb  路  3Comments

AmusingThrone picture AmusingThrone  路  3Comments

ArunSingh1 picture ArunSingh1  路  3Comments

vkosuri picture vkosuri  路  4Comments

juanpialbano picture juanpialbano  路  4Comments