I have tried everything. From uninstalls to reinstalls, to even system restores, everything short of just completely resetting my windows 7 laptop. The only thing in it i can see clear as day is needing to install microsoft visual c++ build tools 14.0, which ive tried. Here is my error code :
C:\Users\NAME>pip install chatterbot
Collecting chatterbot
Using cached https://files.pythonhosted.org/packages/6c/0e/dac0d82f34f86bf509c
f5ef3e2dfc5aa7d444bd843a2330ceb7d854f84f2/ChatterBot-1.0.5-py2.py3-none-any.whl
Collecting pyyaml<5.2,>=5.1 (from chatterbot)
Using cached https://files.pythonhosted.org/packages/d3/4f/c65af393e53483cf0a0
db7aac48f02684b09207c9b77242d35d747e63221/PyYAML-5.1.2-cp37-cp37m-win32.whl
Collecting spacy<2.2,>=2.1 (from chatterbot)
Using cached https://files.pythonhosted.org/packages/58/f2/5a23bb7251988da474e
ec844b692760cb0a317912291afc77b516f399cff/spacy-2.1.8.tar.gz
Installing build dependencies ... error
ERROR: Command errored out with exit status 1:
command: 'c:\users\NAME\appdata\local\programs\python\python37-32\python.exe
' 'c:\users\NAME\appdata\local\programs\python\python37-32\lib\site-packages\pi
p' install --ignore-installed --no-user --prefix 'C:\Users\NAME\AppData\Local\T
emp\pip-build-env-gwdif5cl\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 (57 lines):
Collecting setuptools
Using cached https://files.pythonhosted.org/packages/b2/86/095d2f7829badc207
c893dd4ac767e871f6cd547145df797ea26baea4e2e/setuptools-41.2.0-py2.py3-none-any.w
hl
Collecting wheel<0.33.0,>0.32.0
Using cached https://files.pythonhosted.org/packages/ff/47/1dfa4795e24fd6f93
d5d58602dd716c3f101cfd5a77cd9acbe519b44a0a9/wheel-0.32.3-py2.py3-none-any.whl
Collecting Cython
Using cached https://files.pythonhosted.org/packages/ba/08/4f0d09d63b713955f
9c6937923f1b1432331f468912b65824b19b9d82d19/Cython-0.29.13-cp37-cp37m-win32.whl
Collecting cymem<2.1.0,>=2.0.2
Using cached https://files.pythonhosted.org/packages/eb/cb/4ff546a491f764f67
284572d25c57927e3f17103adf979bc99d90128f3eb/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/ef641ebb40e287b95
e9742e7f3120dca0350d92b3d0ef050e5133acf8931/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/411be1845f1ac07ae
3bc40a4b19ba401819baed4fa63b4f5ef28b2300eb4/murmurhash-1.0.2.tar.gz
Collecting thinc<7.1.0,>=7.0.8
Using cached https://files.pythonhosted.org/packages/92/39/ea2a3d5b87fd52fc8
65fd1ceb7b91dca1f85e227d53e7a086d260f6bcb93/thinc-7.0.8.tar.gz
Collecting blis<0.3.0,>=0.2.1 (from thinc<7.1.0,>=7.0.8)
Using cached https://files.pythonhosted.org/packages/59/9e/84a83616cbe5daa94
909da38b780e93bf566dc2113c3dc35d7b4cad52f63/blis-0.2.4.tar.gz
Collecting wasabi<1.1.0,>=0.0.9 (from thinc<7.1.0,>=7.0.8)
Using cached https://files.pythonhosted.org/packages/f4/c1/d76ccdd12c716be79
162d934fe7de4ac8a318b9302864716dde940641a79/wasabi-0.2.2-py3-none-any.whl
Collecting srsly<1.1.0,>=0.0.6 (from thinc<7.1.0,>=7.0.8)
Using cached https://files.pythonhosted.org/packages/b0/63/b68061954228346cb
ab2c41adb36339678605c47da016f5c71c7ef65f510/srsly-0.1.0.tar.gz
Collecting numpy>=1.7.0 (from thinc<7.1.0,>=7.0.8)
Using cached https://files.pythonhosted.org/packages/a8/ce/36f9b4fbc7e675a7c
8a3809dd5902e24cecfcdbc006e8a7b2417c2b830a2/numpy-1.17.2-cp37-cp37m-win32.whl
Collecting plac<1.0.0,>=0.9.6 (from thinc<7.1.0,>=7.0.8)
Using cached https://files.pythonhosted.org/packages/9e/9b/62c60d2f5bc135d2a
a1d8c8a86aaf84edb719a59c7f11a4316259e61a298/plac-0.9.6-py2.py3-none-any.whl
Collecting tqdm<5.0.0,>=4.10.0 (from thinc<7.1.0,>=7.0.8)
Using cached https://files.pythonhosted.org/packages/e1/c1/bc1dba38b48f4ae3c
4428aea669c5e27bd5a7642a74c8348451e0bd8ff86/tqdm-4.36.1-py2.py3-none-any.whl
Installing collected packages: setuptools, wheel, Cython, cymem, preshed, murm
urhash, numpy, blis, wasabi, srsly, plac, tqdm, thinc
Running setup.py install for murmurhash: started
Running setup.py install for murmurhash: finished with status 'error'
ERROR: Command errored out with exit status 1:
command: 'c:\users\NAME\appdata\local\programs\python\python37-32\python
.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\sco
tt\\AppData\\Local\\Temp\\pip-install-uap41b7w\\murmurhash\\setup.py'"'"'; __fil
e__='"'"'C:\\Users\\NAME\\AppData\\Local\\Temp\\pip-install-uap41b7w\\murmurhas
h\\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\NAME\AppData\Local\Temp\pip-record
-1ngogh9i\install-record.txt' --single-version-externally-managed --prefix 'C:\U
sers\NAME\AppData\Local\Temp\pip-build-env-gwdif5cl\overlay' --compile
cwd: C:\Users\NAME\AppData\Local\Temp\pip-install-uap41b7w\murmurhas
h\
Complete output (22 lines):
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\murmu
rhash\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\tes
ts
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 Visua
l C++ Build Tools": https://visualstudio.microsoft.com/downloads/
----------------------------------------
ERROR: Command errored out with exit status 1: 'c:\users\NAME\appdata\local\p
rograms\python\python37-32\python.exe' -u -c 'import sys, setuptools, tokenize;
sys.argv[0] = '"'"'C:\\Users\\NAME\\AppData\\Local\\Temp\\pip-install-uap41b7w\
\murmurhash\\setup.py'"'"'; __file__='"'"'C:\\Users\\NAME\\AppData\\Local\\Temp
\\pip-install-uap41b7w\\murmurhash\\setup.py'"'"';f=getattr(tokenize, '"'"'open'
"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.clos
e();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\sc
ott\AppData\Local\Temp\pip-record-1ngogh9i\install-record.txt' --single-version-
externally-managed --prefix 'C:\Users\NAME\AppData\Local\Temp\pip-build-env-gwd
if5cl\overlay' --compile Check the logs for full command output.
----------------------------------------
ERROR: Command errored out with exit status 1: 'c:\users\NAME\appdata\local\pro
grams\python\python37-32\python.exe' 'c:\users\NAME\appdata\local\programs\pyth
on\python37-32\lib\site-packages\pip' install --ignore-installed --no-user --pre
fix 'C:\Users\NAME\AppData\Local\Temp\pip-build-env-gwdif5cl\overlay' --no-warn
-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/sim
ple -- 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 f
or full command output.
could you try pip3 install --upgrade chatterbot
I have tried that. in VScode is says pylint(import error) when i try to import chatterbot, because its not installed. im stuck.
ohh, let me understand more on this, could you try console/bash below import
from chatterbot import ChatBot
hey,
it seems that you are using python 3.7-32 bit, which isn't supported by newer versions of spacy
if you try pip install spacy you will get that error (the error is from preshed i think)
install python 64 bit, then try installing chatter and see if it works.
Most helpful comment
could you try
pip3 install --upgrade chatterbot