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

pip install chatterbot error #1854

Open
PawanPujary1105 opened this issue Nov 4, 2019 · 62 comments
Open

pip install chatterbot error #1854

PawanPujary1105 opened this issue Nov 4, 2019 · 62 comments
Labels

Comments

@PawanPujary1105
Copy link

i am using python 3.8 64 bit and trying to install chatterbot using the command:
pip install chatterbot

but it shows following error:

C:\Users\user>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 spacy<2.2,>=2.1
Using cached https://files.pythonhosted.org/packages/1f/e2/46650d03c7ff2b57ed7af211d41c3f606540f7adea92b5af65fcf9f605c0/spacy-2.1.9.tar.gz
Installing build dependencies ... error
ERROR: Command errored out with exit status 1:
command: 'c:\users\user\appdata\local\programs\python\python38\python.exe' 'c:\users\user\appdata\local\programs\python\python38\lib\site-packages\pip' install --ignore-installed --no-user --prefix 'C:\Users\user\AppData\Local\Temp\pip-build-env-qwm0zsrq\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 (193 lines):
Collecting setuptools
Using cached https://files.pythonhosted.org/packages/d9/de/554b6310ac87c5b921bc45634b07b11394fe63bc4cb5176f5240addf18ab/setuptools-41.6.0-py2.py3-none-any.whl
Collecting wheel<0.33.0,>0.32.0
Using cached https://files.pythonhosted.org/packages/ff/47/1dfa4795e24fd6f93d5d58602dd716c3f101cfd5a77cd9acbe519b44a0a9/wheel-0.32.3-py2.py3-none-any.whl
Collecting Cython
Using cached https://files.pythonhosted.org/packages/41/2c/9d873fc8d1be29af12a1d41707461399327396da10e50e183754aa4136b9/Cython-0.29.14-cp38-cp38-win_amd64.whl
Collecting cymem<2.1.0,>=2.0.2
Using cached https://files.pythonhosted.org/packages/8b/dc/0976e04cc46f86e0dd3ee3797ec68057eaafebf31daca9a076dc138b9920/cymem-2.0.2.tar.gz
Collecting preshed<2.1.0,>=2.0.1
Using cached https://files.pythonhosted.org/packages/0b/14/c9aa735cb9c131545fc9e23031baccb87041ac9215b3d75f99e3cf18f6a3/preshed-2.0.1.tar.gz
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.1.0,>=7.0.8
Using cached https://files.pythonhosted.org/packages/92/39/ea2a3d5b87fd52fc865fd1ceb7b91dca1f85e227d53e7a086d260f6bcb93/thinc-7.0.8.tar.gz
ERROR: Command errored out with exit status 1:
command: 'c:\users\user\appdata\local\programs\python\python38\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\user\AppData\Local\Temp\pip-install-d360k4uy\thinc\setup.py'"'"'; file='"'"'C:\Users\user\AppData\Local\Temp\pip-install-d360k4uy\thinc\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\user\AppData\Local\Temp\pip-install-d360k4uy\thinc\pip-egg-info'
cwd: C:\Users\user\AppData\Local\Temp\pip-install-d360k4uy\thinc
Complete output (173 lines):
Could not locate executable g77
Could not locate executable f77
Could not locate executable ifort
Could not locate executable ifl
Could not locate executable f90
Could not locate executable DF
Could not locate executable efl
Could not locate executable gfortran
Could not locate executable f95
Could not locate executable g95
Could not locate executable efort
Could not locate executable efc
Could not locate executable flang
don't know how to compile Fortran code on platform 'nt'
'svnversion' is not recognized as an internal or external command,
operable program or batch file.
non-existing path in 'numpy\distutils': 'site.cfg'
Running from numpy source directory.
C:\Users\user\AppData\Local\Temp\easy_install-wp64lity\numpy-1.17.3\setup.py:418: UserWarning: Unrecognized setuptools command, proceeding with generating Cython sources and expanding templates
run_build = parse_setuppy_commands()
C:\Users\user\AppData\Local\Temp\easy_install-wp64lity\numpy-1.17.3\numpy\distutils\system_info.py:690: UserWarning:
Optimized (vendor) Blas libraries are not found.
Falls back to netlib Blas library which has worse performance.
A better performance should be easily gained by switching
Blas library.
self.calc_info()
C:\Users\user\AppData\Local\Temp\easy_install-wp64lity\numpy-1.17.3\numpy\distutils\system_info.py:690: UserWarning:
Blas (http://www.netlib.org/blas/) libraries not found.
Directories to search for the libraries can be specified in the
numpy/distutils/site.cfg file (section [blas]) or by setting
the BLAS environment variable.
self.calc_info()
C:\Users\user\AppData\Local\Temp\easy_install-wp64lity\numpy-1.17.3\numpy\distutils\system_info.py:690: UserWarning:
Blas (http://www.netlib.org/blas/) sources not found.
Directories to search for the sources can be specified in the
numpy/distutils/site.cfg file (section [blas_src]) or by setting
the BLAS_SRC environment variable.
self.calc_info()
C:\Users\user\AppData\Local\Temp\easy_install-wp64lity\numpy-1.17.3\numpy\distutils\system_info.py:1712: UserWarning:
Lapack (http://www.netlib.org/lapack/) libraries not found.
Directories to search for the libraries can be specified in the
numpy/distutils/site.cfg file (section [lapack]) or by setting
the LAPACK environment variable.
if getattr(self, 'calc_info{}'.format(lapack))():
C:\Users\user\AppData\Local\Temp\easy_install-wp64lity\numpy-1.17.3\numpy\distutils\system_info.py:1712: UserWarning:
Lapack (http://www.netlib.org/lapack/) sources not found.
Directories to search for the sources can be specified in the
numpy/distutils/site.cfg file (section [lapack_src]) or by setting
the LAPACK_SRC environment variable.
if getattr(self, 'calc_info{}'.format(lapack))():
c:\users\user\appdata\local\programs\python\python38\lib\distutils\dist.py:274: UserWarning: Unknown distribution option: 'define_macros'
warnings.warn(msg)
Traceback (most recent call last):
File "c:\users\user\appdata\local\programs\python\python38\lib\site-packages\setuptools\sandbox.py", line 154, in save_modules
yield saved
File "c:\users\user\appdata\local\programs\python\python38\lib\site-packages\setuptools\sandbox.py", line 195, in setup_context
yield
File "c:\users\user\appdata\local\programs\python\python38\lib\site-packages\setuptools\sandbox.py", line 250, in run_setup
_execfile(setup_script, ns)
File "c:\users\user\appdata\local\programs\python\python38\lib\site-packages\setuptools\sandbox.py", line 45, in execfile
exec(code, globals, locals)
File "C:\Users\user\AppData\Local\Temp\easy_install-wp64lity\numpy-1.17.3\setup.py", line 443, in
File "C:\Users\user\AppData\Local\Temp\easy_install-wp64lity\numpy-1.17.3\setup.py", line 435, in setup_package
File "C:\Users\user\AppData\Local\Temp\easy_install-wp64lity\numpy-1.17.3\numpy\distutils\core.py", line 171, in setup
File "c:\users\user\appdata\local\programs\python\python38\lib\site-packages\setuptools_init
.py", line 145, in setup
return distutils.core.setup(**attrs)
File "c:\users\user\appdata\local\programs\python\python38\lib\distutils\core.py", line 148, in setup
dist.run_commands()
File "c:\users\user\appdata\local\programs\python\python38\lib\distutils\dist.py", line 966, in run_commands
self.run_command(cmd)
File "c:\users\user\appdata\local\programs\python\python38\lib\distutils\dist.py", line 985, in run_command
cmd_obj.run()
File "c:\users\user\appdata\local\programs\python\python38\lib\site-packages\setuptools\command\bdist_egg.py", line 163, in run
self.run_command("egg_info")
File "c:\users\user\appdata\local\programs\python\python38\lib\distutils\cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "c:\users\user\appdata\local\programs\python\python38\lib\distutils\dist.py", line 985, in run_command
cmd_obj.run()
File "C:\Users\user\AppData\Local\Temp\easy_install-wp64lity\numpy-1.17.3\numpy\distutils\command\egg_info.py", line 26, in run
File "c:\users\user\appdata\local\programs\python\python38\lib\distutils\cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "c:\users\user\appdata\local\programs\python\python38\lib\distutils\dist.py", line 985, in run_command
cmd_obj.run()
File "C:\Users\user\AppData\Local\Temp\easy_install-wp64lity\numpy-1.17.3\numpy\distutils\command\build_src.py", line 142, in run
File "C:\Users\user\AppData\Local\Temp\easy_install-wp64lity\numpy-1.17.3\numpy\distutils\command\build_src.py", line 153, in build_sources
File "C:\Users\user\AppData\Local\Temp\easy_install-wp64lity\numpy-1.17.3\numpy\distutils\command\build_src.py", line 286, in build_library_sources
File "C:\Users\user\AppData\Local\Temp\easy_install-wp64lity\numpy-1.17.3\numpy\distutils\command\build_src.py", line 369, in generate_sources
File "numpy\core\setup.py", line 669, in get_mathlib_info
RuntimeError: Broken toolchain: cannot link a simple C program

  During handling of the above exception, another exception occurred:

  Traceback (most recent call last):
    File "<string>", line 1, in <module>
    File "C:\Users\user\AppData\Local\Temp\pip-install-d360k4uy\thinc\setup.py", line 261, in <module>
      setup_package()
    File "C:\Users\user\AppData\Local\Temp\pip-install-d360k4uy\thinc\setup.py", line 201, in setup_package
      setup(
    File "c:\users\user\appdata\local\programs\python\python38\lib\site-packages\setuptools\__init__.py", line 144, in setup
      _install_setup_requires(attrs)
    File "c:\users\user\appdata\local\programs\python\python38\lib\site-packages\setuptools\__init__.py", line 139, in _install_setup_requires
      dist.fetch_build_eggs(dist.setup_requires)
    File "c:\users\user\appdata\local\programs\python\python38\lib\site-packages\setuptools\dist.py", line 717, in fetch_build_eggs
      resolved_dists = pkg_resources.working_set.resolve(
    File "c:\users\user\appdata\local\programs\python\python38\lib\site-packages\pkg_resources\__init__.py", line 780, in resolve
      dist = best[req.key] = env.best_match(
    File "c:\users\user\appdata\local\programs\python\python38\lib\site-packages\pkg_resources\__init__.py", line 1065, in best_match
      return self.obtain(req, installer)
    File "c:\users\user\appdata\local\programs\python\python38\lib\site-packages\pkg_resources\__init__.py", line 1077, in obtain
      return installer(requirement)
    File "c:\users\user\appdata\local\programs\python\python38\lib\site-packages\setuptools\dist.py", line 787, in fetch_build_egg
      return cmd.easy_install(req)
    File "c:\users\user\appdata\local\programs\python\python38\lib\site-packages\setuptools\command\easy_install.py", line 679, in easy_install
      return self.install_item(spec, dist.location, tmpdir, deps)
    File "c:\users\user\appdata\local\programs\python\python38\lib\site-packages\setuptools\command\easy_install.py", line 705, in install_item
      dists = self.install_eggs(spec, download, tmpdir)
    File "c:\users\user\appdata\local\programs\python\python38\lib\site-packages\setuptools\command\easy_install.py", line 890, in install_eggs
      return self.build_and_install(setup_script, setup_base)
    File "c:\users\user\appdata\local\programs\python\python38\lib\site-packages\setuptools\command\easy_install.py", line 1158, in build_and_install
      self.run_setup(setup_script, setup_base, args)
    File "c:\users\user\appdata\local\programs\python\python38\lib\site-packages\setuptools\command\easy_install.py", line 1144, in run_setup
      run_setup(setup_script, args)
    File "c:\users\user\appdata\local\programs\python\python38\lib\site-packages\setuptools\sandbox.py", line 253, in run_setup
      raise
    File "c:\users\user\appdata\local\programs\python\python38\lib\contextlib.py", line 131, in __exit__
      self.gen.throw(type, value, traceback)
    File "c:\users\user\appdata\local\programs\python\python38\lib\site-packages\setuptools\sandbox.py", line 195, in setup_context
      yield
    File "c:\users\user\appdata\local\programs\python\python38\lib\contextlib.py", line 131, in __exit__
      self.gen.throw(type, value, traceback)
    File "c:\users\user\appdata\local\programs\python\python38\lib\site-packages\setuptools\sandbox.py", line 166, in save_modules
      saved_exc.resume()
    File "c:\users\user\appdata\local\programs\python\python38\lib\site-packages\setuptools\sandbox.py", line 141, in resume
      six.reraise(type, exc, self._tb)
    File "c:\users\user\appdata\local\programs\python\python38\lib\site-packages\setuptools\_vendor\six.py", line 685, in reraise
      raise value.with_traceback(tb)
    File "c:\users\user\appdata\local\programs\python\python38\lib\site-packages\setuptools\sandbox.py", line 154, in save_modules
      yield saved
    File "c:\users\user\appdata\local\programs\python\python38\lib\site-packages\setuptools\sandbox.py", line 195, in setup_context
      yield
    File "c:\users\user\appdata\local\programs\python\python38\lib\site-packages\setuptools\sandbox.py", line 250, in run_setup
      _execfile(setup_script, ns)
    File "c:\users\user\appdata\local\programs\python\python38\lib\site-packages\setuptools\sandbox.py", line 45, in _execfile
      exec(code, globals, locals)
    File "C:\Users\user\AppData\Local\Temp\easy_install-wp64lity\numpy-1.17.3\setup.py", line 443, in <module>
    File "C:\Users\user\AppData\Local\Temp\easy_install-wp64lity\numpy-1.17.3\setup.py", line 435, in setup_package
    File "C:\Users\user\AppData\Local\Temp\easy_install-wp64lity\numpy-1.17.3\numpy\distutils\core.py", line 171, in setup
    File "c:\users\user\appdata\local\programs\python\python38\lib\site-packages\setuptools\__init__.py", line 145, in setup
      return distutils.core.setup(**attrs)
    File "c:\users\user\appdata\local\programs\python\python38\lib\distutils\core.py", line 148, in setup
      dist.run_commands()
    File "c:\users\user\appdata\local\programs\python\python38\lib\distutils\dist.py", line 966, in run_commands
      self.run_command(cmd)
    File "c:\users\user\appdata\local\programs\python\python38\lib\distutils\dist.py", line 985, in run_command
      cmd_obj.run()
    File "c:\users\user\appdata\local\programs\python\python38\lib\site-packages\setuptools\command\bdist_egg.py", line 163, in run
      self.run_command("egg_info")
    File "c:\users\user\appdata\local\programs\python\python38\lib\distutils\cmd.py", line 313, in run_command
      self.distribution.run_command(command)
    File "c:\users\user\appdata\local\programs\python\python38\lib\distutils\dist.py", line 985, in run_command
      cmd_obj.run()
    File "C:\Users\user\AppData\Local\Temp\easy_install-wp64lity\numpy-1.17.3\numpy\distutils\command\egg_info.py", line 26, in run
    File "c:\users\user\appdata\local\programs\python\python38\lib\distutils\cmd.py", line 313, in run_command
      self.distribution.run_command(command)
    File "c:\users\user\appdata\local\programs\python\python38\lib\distutils\dist.py", line 985, in run_command
      cmd_obj.run()
    File "C:\Users\user\AppData\Local\Temp\easy_install-wp64lity\numpy-1.17.3\numpy\distutils\command\build_src.py", line 142, in run
    File "C:\Users\user\AppData\Local\Temp\easy_install-wp64lity\numpy-1.17.3\numpy\distutils\command\build_src.py", line 153, in build_sources
    File "C:\Users\user\AppData\Local\Temp\easy_install-wp64lity\numpy-1.17.3\numpy\distutils\command\build_src.py", line 286, in build_library_sources
    File "C:\Users\user\AppData\Local\Temp\easy_install-wp64lity\numpy-1.17.3\numpy\distutils\command\build_src.py", line 369, in generate_sources
    File "numpy\core\setup.py", line 669, in get_mathlib_info
  RuntimeError: Broken toolchain: cannot link a simple C program
  LINK : fatal error LNK1104: cannot open file 'kernel32.lib'
  ----------------------------------------

ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

ERROR: Command errored out with exit status 1: 'c:\users\user\appdata\local\programs\python\python38\python.exe' 'c:\users\user\appdata\local\programs\python\python38\lib\site-packages\pip' install --ignore-installed --no-user --prefix 'C:\Users\user\AppData\Local\Temp\pip-build-env-qwm0zsrq\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.

please help me solve this problem asap

@sohamnandi77
Copy link

Hello @PawanPujary1105, I would suggest reinstall python 3.7.2 also keep in mind to delete the cache file after uninstalling. So,
delete the pip folder from C:\Users\soham\AppData\Local\pip and
delete the old python setup files from C:\Users\soham\AppData\Local\Programs\Python
then reinstall python 3.7.2
then pip install chatterbot
it will work

@PawanPujary1105
Copy link
Author

Hello @PawanPujary1105, I would suggest reinstall python 3.7.2 also keep in mind to delete the cache file after uninstalling. So,
delete the pip folder from C:\Users\soham\AppData\Local\pip and
delete the old python setup files from C:\Users\soham\AppData\Local\Programs\Python
then reinstall python 3.7.2
then pip install chatterbot
it will work

I didnt reinstall python 3.7.2 but i installed MS build tools 2019 and now every step is working but only one package is showing error i.e; blis
error:

ERROR: Failed building wheel for blis
Running setup.py clean for blis
Successfully built cymem preshed murmurhash
Failed to build blis
Installing collected packages: setuptools, wheel, Cython, cymem, preshed, murmurhash, wasabi, numpy, plac, blis, tqdm, srsly, thinc
Running setup.py install for blis: started
Running setup.py install for blis: finished with status 'error'
ERROR: Command errored out with exit status 1:
command: 'c:\users\user\appdata\local\programs\python\python38\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\user\AppData\Local\Temp\pip-install-tzrcsog5\blis\setup.py'"'"'; file='"'"'C:\Users\user\AppData\Local\Temp\pip-install-tzrcsog5\blis\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-tnhpjpl6\install-record.txt' --single-version-externally-managed --prefix 'C:\Users\user\AppData\Local\Temp\pip-build-env-fqyrtkoj\overlay' --compile
cwd: C:\Users\user\AppData\Local\Temp\pip-install-tzrcsog5\blis
Complete output (25 lines):
BLIS_COMPILER? None
running install
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
running build_ext
error: [WinError 2] The system cannot find the file specified
msvc
py_compiler msvc
{'LS_COLORS': 'rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:.tar=01;31:.tgz=01;31:.arc=01;31:.arj=01;31:.taz=01;31:.lha=01;31:.lz4=01;31:.lzh=01;31:.lzma=01;31:.tlz=01;31:.txz=01;31:.tzo=01;31:.t7z=01;31:.zip=01;31:.z=01;31:.Z=01;31:.dz=01;31:.gz=01;31:.lrz=01;31:.lz=01;31:.lzo=01;31:.xz=01;31:.zst=01;31:.tzst=01;31:.bz2=01;31:.bz=01;31:.tbz=01;31:.tbz2=01;31:.tz=01;31:.deb=01;31:.rpm=01;31:.jar=01;31:.war=01;31:.ear=01;31:.sar=01;31:.rar=01;31:.alz=01;31:.ace=01;31:.zoo=01;31:.cpio=01;31:.7z=01;31:.rz=01;31:.cab=01;31:.wim=01;31:.swm=01;31:.dwm=01;31:.esd=01;31:.jpg=01;35:.jpeg=01;35:.mjpg=01;35:.mjpeg=01;35:.gif=01;35:.bmp=01;35:.pbm=01;35:.pgm=01;35:.ppm=01;35:.tga=01;35:.xbm=01;35:.xpm=01;35:.tif=01;35:.tiff=01;35:.png=01;35:.svg=01;35:.svgz=01;35:.mng=01;35:.pcx=01;35:.mov=01;35:.mpg=01;35:.mpeg=01;35:.m2v=01;35:.mkv=01;35:.webm=01;35:.ogm=01;35:.mp4=01;35:.m4v=01;35:.mp4v=01;35:.vob=01;35:.qt=01;35:.nuv=01;35:.wmv=01;35:.asf=01;35:.rm=01;35:.rmvb=01;35:.flc=01;35:.avi=01;35:.fli=01;35:.flv=01;35:.gl=01;35:.dl=01;35:.xcf=01;35:.xwd=01;35:.yuv=01;35:.cgm=01;35:.emf=01;35:.ogv=01;35:.ogx=01;35:.aac=00;36:.au=00;36:.flac=00;36:.m4a=00;36:.mid=00;36:.midi=00;36:.mka=00;36:.mp3=00;36:.mpc=00;36:.ogg=00;36:.ra=00;36:.wav=00;36:.oga=00;36:.opus=00;36:.spx=00;36:.xspf=00;36:', 'HOSTTYPE': 'x86_64', 'LESSCLOSE': '/usr/bin/lesspipe %s %s', 'LANG': 'C.UTF-8', 'OLDPWD': '/home/matt/repos/flame-blis', 'VIRTUAL_ENV': '/home/matt/repos/cython-blis/env3.6', 'USER': 'matt', 'PWD': '/home/matt/repos/cython-blis', 'HOME': '/home/matt', 'NAME': 'LAPTOP-OMKOB3VM', 'XDG_DATA_DIRS': '/usr/local/share:/usr/share:/var/lib/snapd/desktop', 'SHELL': '/bin/bash', 'TERM': 'xterm-256color', 'SHLVL': '1', 'LOGNAME': 'matt', 'PATH': '/home/matt/repos/cython-blis/env3.6/bin:/tmp/google-cloud-sdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/mnt/c/Users/matt/Documents/cmder/vendor/conemu-maximus5/ConEmu/Scripts:/mnt/c/Users/matt/Documents/cmder/vendor/conemu-maximus5:/mnt/c/Users/matt/Documents/cmder/vendor/conemu-maximus5/ConEmu:/mnt/c/Python37/Scripts:/mnt/c/Python37:/mnt/c/Program Files (x86)/Intel/Intel(R) Management Engine Components/iCLS:/mnt/c/Program Files/Intel/Intel(R) Management Engine Components/iCLS:/mnt/c/Windows/System32:/mnt/c/Windows:/mnt/c/Windows/System32/wbem:/mnt/c/Windows/System32/WindowsPowerShell/v1.0:/mnt/c/Program Files (x86)/Intel/Intel(R) Management Engine Components/DAL:/mnt/c/Program Files/Intel/Intel(R) Management Engine Components/DAL:/mnt/c/Program Files (x86)/Intel/Intel(R) Management Engine Components/IPT:/mnt/c/Program Files/Intel/Intel(R) Management Engine Components/IPT:/mnt/c/Program Files/Intel/WiFi/bin:/mnt/c/Program Files/Common Files/Intel/WirelessCommon:/mnt/c/Program Files (x86)/NVIDIA Corporation/PhysX/Common:/mnt/c/ProgramData/chocolatey/bin:/mnt/c/Program Files/Git/cmd:/mnt/c/Program Files/LLVM/bin:/mnt/c/Windows/System32:/mnt/c/Windows:/mnt/c/Windows/System32/wbem:/mnt/c/Windows/System32/WindowsPowerShell/v1.0:/mnt/c/Windows/System32/OpenSSH:/mnt/c/Program Files/nodejs:/mnt/c/Users/matt/AppData/Local/Microsoft/WindowsApps:/mnt/c/Users/matt/AppData/Local/Programs/Microsoft VS Code/bin:/mnt/c/Users/matt/AppData/Roaming/npm:/snap/bin:/mnt/c/Program Files/Oracle/VirtualBox', 'PS1': '(env3.6) \[\e]0;\u@\h: \w\a\]${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ ', 'VAGRANT_HOME': '/home/matt/.vagrant.d/', 'LESSOPEN': '| /usr/bin/lesspipe %s', '_': '/home/matt/repos/cython-blis/env3.6/bin/python'}
clang -c C:\Users\user\AppData\Local\Temp\pip-install-tzrcsog5\blis\blis_src\config\bulldozer\bli_cntx_init_bulldozer.c -o C:\Users\user\AppData\Local\Temp\tmp3ft18ude\bli_cntx_init_bulldozer.o -O2 -funroll-all-loops -std=c99 -D_POSIX_C_SOURCE=200112L -DBLIS_VERSION_STRING="0.5.0-6" -DBLIS_IS_BUILDING_LIBRARY -Iinclude\windows-x86_64 -I.\frame\3\ -I.\frame\ind\ukernels\ -I.\frame\1m\ -I.\frame\1f\ -I.\frame\1\ -I.\frame\include -IC:\Users\user\AppData\Local\Temp\pip-install-tzrcsog5\blis\blis_src\include\windows-x86_64
----------------------------------------
ERROR: Command errored out with exit status 1: 'c:\users\user\appdata\local\programs\python\python38\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\user\AppData\Local\Temp\pip-install-tzrcsog5\blis\setup.py'"'"'; file='"'"'C:\Users\user\AppData\Local\Temp\pip-install-tzrcsog5\blis\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-tnhpjpl6\install-record.txt' --single-version-externally-managed --prefix 'C:\Users\user\AppData\Local\Temp\pip-build-env-fqyrtkoj\overlay' --compile Check the logs for full command output.

ERROR: Command errored out with exit status 1: 'c:\users\user\appdata\local\programs\python\python38\python.exe' 'c:\users\user\appdata\local\programs\python\python38\lib\site-packages\pip' install --ignore-installed --no-user --prefix 'C:\Users\user\AppData\Local\Temp\pip-build-env-fqyrtkoj\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.

@sohamnandi77
Copy link

@PawanPujary1105 i think you have a problem in pip module in python. Once try deleting the pip folder from C:\Users\soham\AppData\Local\pip and reinstall Python.

@PawanPujary1105
Copy link
Author

@PawanPujary1105 i think you have a problem in pip module in python. Once try deleting the pip folder from C:\Users\soham\AppData\Local\pip and reinstall Python.

I uninstalled python and pip as u said now the first error occurs.
is it necessary that we should download wheels for all the modules included in the chatterbot package

@egutierrezlomban
Copy link

Parece que chatterbot no sirve en window. los ejemplos todos usan linux

@kmrjyt
Copy link

kmrjyt commented Dec 28, 2019

Were you able to solve that problem ?
i am facing same issues

E:\Python\1st>pip install --upgrade chatterbot
Collecting chatterbot
Using cached https://files.pythonhosted.org/packages/6c/0e/dac0d82f34f86bf509cf5ef3e2dfc5aa7d444bd843a2330ceb7d854f84f2/ChatterBot-1.0.5-py2.py3-none-any.whl
Collecting spacy<2.2,>=2.1
Using cached https://files.pythonhosted.org/packages/1f/e2/46650d03c7ff2b57ed7af211d41c3f606540f7adea92b5af65fcf9f605c0/spacy-2.1.9.tar.gz
Installing build dependencies ... error
ERROR: Command errored out with exit status 1:
command: 'c:\program files\python38\python.exe' 'c:\program files\python38\lib\site-packages\pip' install --ignore-installed --no-user --prefix 'C:\Users\Administrator\AppData\Local
\Temp\pip-build-env-o5gip079\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 (103 lines):
Collecting setuptools
Using cached https://files.pythonhosted.org/packages/54/28/c45d8b54c1339f9644b87663945e54a8503cfef59cf0f65b3ff5dd17cf64/setuptools-42.0.2-py2.py3-none-any.whl
Collecting wheel<0.33.0,>0.32.0
Using cached https://files.pythonhosted.org/packages/ff/47/1dfa4795e24fd6f93d5d58602dd716c3f101cfd5a77cd9acbe519b44a0a9/wheel-0.32.3-py2.py3-none-any.whl
Collecting Cython
Using cached https://files.pythonhosted.org/packages/41/2c/9d873fc8d1be29af12a1d41707461399327396da10e50e183754aa4136b9/Cython-0.29.14-cp38-cp38-win_amd64.whl
Collecting cymem<2.1.0,>=2.0.2
Using cached https://files.pythonhosted.org/packages/8c/1f/43be34e4decc602fae2bda73b05525bc49deff44baeb95611b23a2929195/cymem-2.0.3-cp38-cp38-win_amd64.whl
Collecting preshed<2.1.0,>=2.0.1
Using cached https://files.pythonhosted.org/packages/0b/14/c9aa735cb9c131545fc9e23031baccb87041ac9215b3d75f99e3cf18f6a3/preshed-2.0.1.tar.gz
Collecting murmurhash<1.1.0,>=0.28.0
Using cached https://files.pythonhosted.org/packages/5b/73/129c1aed56c88a446c70e4eda186fe014bfb8330478e5e257cc923bd3e15/murmurhash-1.0.2-cp38-cp38-win_amd64.whl
Processing c:\users\administrator\appdata\local\pip\cache\wheels\f2\32\f0\fe1467f30fde6dd38ef58010310d2f114b99db79391ff8c0cb\thinc-7.0.8-cp38-cp38-win_amd64.whl
Collecting numpy>=1.7.0
Using cached https://files.pythonhosted.org/packages/bc/8d/2b9e00c884bba5aa7a400941f356763cf60c578cc31400dd9bcd495084a2/numpy-1.18.0-cp38-cp38-win_amd64.whl
Collecting tqdm<5.0.0,>=4.10.0
Using cached https://files.pythonhosted.org/packages/8c/c3/d049cf3fb31094ee045ec1ee29fffac218c91e82c8838c49ab4c3e52627b/tqdm-4.41.0-py2.py3-none-any.whl
Collecting plac<1.0.0,>=0.9.6
Using cached https://files.pythonhosted.org/packages/9e/9b/62c60d2f5bc135d2aa1d8c8a86aaf84edb719a59c7f11a4316259e61a298/plac-0.9.6-py2.py3-none-any.whl
Collecting wasabi<1.1.0,>=0.0.9
Using cached https://files.pythonhosted.org/packages/ff/ef/e8266e158ed32bf5f723fac862b6518833d0b53ca183165a8718f212c0d5/wasabi-0.4.2-py3-none-any.whl
Collecting srsly<1.1.0,>=0.0.6
Using cached https://files.pythonhosted.org/packages/16/4b/57e28409e7a6d6e4f9eaca59f70a9c41368146e8923137ca467ce23c593d/srsly-0.2.0-cp38-cp38-win_amd64.whl
Collecting blis<0.3.0,>=0.2.1
Using cached https://files.pythonhosted.org/packages/59/9e/84a83616cbe5daa94909da38b780e93bf566dc2113c3dc35d7b4cad52f63/blis-0.2.4.tar.gz
Building wheels for collected packages: preshed, blis
Building wheel for preshed (setup.py): started
Building wheel for preshed (setup.py): finished with status 'done'
Created wheel for preshed: filename=preshed-2.0.1-cp38-cp38m-win_amd64.whl size=79174 sha256=6d4eeb73105e7d1d39e3851089ac8dc9960246a7f4f2f625e40026fe899ec2bd
Stored in directory: C:\Users\Administrator\AppData\Local\pip\Cache\wheels\22\66\7a\672369bfbf391c645f57e937786f7a9c1ed4f225a4a73b0673
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:\program files\python38\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\Administrator\AppData\Local\Temp\pip-install-ik0g5bqb\b
lis\setup.py'"'"'; file='"'"'C:\Users\Administrator\AppData\Local\Temp\pip-install-ik0g5bqb\blis\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.r
ead().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' bdist_wheel -d 'C:\Users\Administrator\AppData\Local\Temp\pip-wheel-hp4c2ot0' --pyt
hon-tag cp38
cwd: C:\Users\Administrator\AppData\Local\Temp\pip-install-ik0g5bqb\blis
Complete output (25 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
running build_ext
error: [WinError 2] The system cannot find the file specified
msvc
py_compiler msvc
{'LS_COLORS': 'rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:.ta
r=01;31:
.tgz=01;31:.arc=01;31:.arj=01;31:.taz=01;31:.lha=01;31:.lz4=01;31:.lzh=01;31:.lzma=01;31:.tlz=01;31:.txz=01;31:.tzo=01;31:.t7z=01;31:.zip=01;31:.z=01;31:.Z=01;31
:.dz=01;31:.gz=01;31:.lrz=01;31:.lz=01;31:.lzo=01;31:.xz=01;31:.zst=01;31:.tzst=01;31:.bz2=01;31:.bz=01;31:.tbz=01;31:.tbz2=01;31:.tz=01;31:.deb=01;31:.rpm=01;31:.jar=0
1;31:.war=01;31:.ear=01;31:.sar=01;31:.rar=01;31:.alz=01;31:.ace=01;31:.zoo=01;31:.cpio=01;31:.7z=01;31:.rz=01;31:.cab=01;31:.wim=01;31:.swm=01;31:.dwm=01;31:.esd=01;31:
.jpg=01;35:.jpeg=01;35:
.mjpg=01;35:.mjpeg=01;35:.gif=01;35:.bmp=01;35:.pbm=01;35:.pgm=01;35:.ppm=01;35:.tga=01;35:.xbm=01;35:.xpm=01;35:.tif=01;35:.tiff=01;35:.png=01;35
:.svg=01;35:.svgz=01;35:.mng=01;35:.pcx=01;35:.mov=01;35:.mpg=01;35:.mpeg=01;35:.m2v=01;35:.mkv=01;35:.webm=01;35:.ogm=01;35:.mp4=01;35:.m4v=01;35:.mp4v=01;35:.vob=01;35
:
.qt=01;35:.nuv=01;35:.wmv=01;35:.asf=01;35:.rm=01;35:.rmvb=01;35:.flc=01;35:.avi=01;35:.fli=01;35:.flv=01;35:.gl=01;35:.dl=01;35:.xcf=01;35:.xwd=01;35:.yuv=01;35:.cgm=
01;35:
.emf=01;35:.ogv=01;35:.ogx=01;35:.aac=00;36:.au=00;36:.flac=00;36:.m4a=00;36:.mid=00;36:.midi=00;36:.mka=00;36:.mp3=00;36:.mpc=00;36:.ogg=00;36:.ra=00;36:.wav=00;3
6:.oga=00;36:.opus=00;36:.spx=00;36:.xspf=00;36:', 'HOSTTYPE': 'x86_64', 'LESSCLOSE': '/usr/bin/lesspipe %s %s', 'LANG': 'C.UTF-8', 'OLDPWD': '/home/matt/repos/flame-blis', 'VIRTUA
L_ENV': '/home/matt/repos/cython-blis/env3.6', 'USER': 'matt', 'PWD': '/home/matt/repos/cython-blis', 'HOME': '/home/matt', 'NAME': 'LAPTOP-OMKOB3VM', 'XDG_DATA_DIRS': '/usr/local/shar
e:/usr/share:/var/lib/snapd/desktop', 'SHELL': '/bin/bash', 'TERM': 'xterm-256color', 'SHLVL': '1', 'LOGNAME': 'matt', 'PATH': '/home/matt/repos/cython-blis/env3.6/bin:/tmp/google-clou
d-sdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/mnt/c/Users/matt/Documents/cmder/vendor/conemu-maximus5/ConEmu/Scripts:/mnt/c/Users/
matt/Documents/cmder/vendor/conemu-maximus5:/mnt/c/Users/matt/Documents/cmder/vendor/conemu-maximus5/ConEmu:/mnt/c/Python37/Scripts:/mnt/c/Python37:/mnt/c/Program Files (x86)/Intel/Int
el(R) Management Engine Components/iCLS:/mnt/c/Program Files/Intel/Intel(R) Management Engine Components/iCLS:/mnt/c/Windows/System32:/mnt/c/Windows:/mnt/c/Windows/System32/wbem:/mnt/c
/Windows/System32/WindowsPowerShell/v1.0:/mnt/c/Program Files (x86)/Intel/Intel(R) Management Engine Components/DAL:/mnt/c/Program Files/Intel/Intel(R) Management Engine Components/DAL
:/mnt/c/Program Files (x86)/Intel/Intel(R) Management Engine Components/IPT:/mnt/c/Program Files/Intel/Intel(R) Management Engine Components/IPT:/mnt/c/Program Files/Intel/WiFi/bin:/mn
t/c/Program Files/Common Files/Intel/WirelessCommon:/mnt/c/Program Files (x86)/NVIDIA Corporation/PhysX/Common:/mnt/c/ProgramData/chocolatey/bin:/mnt/c/Program Files/Git/cmd:/mnt/c/Pro
gram Files/LLVM/bin:/mnt/c/Windows/System32:/mnt/c/Windows:/mnt/c/Windows/System32/wbem:/mnt/c/Windows/System32/WindowsPowerShell/v1.0:/mnt/c/Windows/System32/OpenSSH:/mnt/c/Program Fi
les/nodejs:/mnt/c/Users/matt/AppData/Local/Microsoft/WindowsApps:/mnt/c/Users/matt/AppData/Local/Programs/Microsoft VS Code/bin:/mnt/c/Users/matt/AppData/Roaming/npm:/snap/bin:/mnt/c/P
rogram Files/Oracle/VirtualBox', 'PS1': '(env3.6) \[\e]0;\u@\h: \w\a\]${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00
m\]\$ ', 'VAGRANT_HOME': '/home/matt/.vagrant.d/', 'LESSOPEN': '| /usr/bin/lesspipe %s', '': '/home/matt/repos/cython-blis/env3.6/bin/python'}
clang -c C:\Users\Administrator\AppData\Local\Temp\pip-install-ik0g5bqb\blis\blis_src\config\bulldozer\bli_cntx_init_bulldozer.c -o C:\Users\ADMINI~1\AppData\Local\Temp\tmpy1hvgfb
r\bli_cntx_init_bulldozer.o -O2 -funroll-all-loops -std=c99 -D_POSIX_C_SOURCE=200112L -DBLIS_VERSION_STRING="0.5.0-6" -DBLIS_IS_BUILDING_LIBRARY -Iinclude\windows-x86_64 -I.\frame\3\ -
I.\frame\ind\ukernels\ -I.\frame\1m\ -I.\frame\1f\ -I.\frame\1\ -I.\frame\include -IC:\Users\Administrator\AppData\Local\Temp\pip-install-ik0g5bqb\blis\blis_src\include\windows-x86_64
----------------------------------------
ERROR: Failed building wheel for blis
Running setup.py clean for blis
Successfully built preshed
Failed to build blis
ERROR: spacy 2.2.3 has requirement blis<0.5.0,>=0.4.0, but you'll have blis 0.2.4 which is incompatible.
ERROR: spacy 2.2.3 has requirement preshed<3.1.0,>=3.0.2, but you'll have preshed 2.0.1 which is incompatible.
ERROR: spacy 2.2.3 has requirement thinc<7.4.0,>=7.3.0, but you'll have thinc 7.0.8 which is incompatible.
Installing collected packages: setuptools, wheel, Cython, cymem, preshed, murmurhash, numpy, tqdm, plac, wasabi, srsly, blis, thinc
Running setup.py install for blis: started
Running setup.py install for blis: finished with status 'error'
ERROR: Command errored out with exit status 1:
command: 'c:\program files\python38\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\Administrator\AppData\Local\Temp\pip-install-ik0g5bqb
\blis\setup.py'"'"'; file='"'"'C:\Users\Administrator\AppData\Local\Temp\pip-install-ik0g5bqb\blis\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\Administrator\AppData\Local\Temp\pip-record-bm88393p\i
nstall-record.txt' --single-version-externally-managed --prefix 'C:\Users\Administrator\AppData\Local\Temp\pip-build-env-o5gip079\overlay' --compile
cwd: C:\Users\Administrator\AppData\Local\Temp\pip-install-ik0g5bqb\blis
Complete output (25 lines):
BLIS_COMPILER? None
running install
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
running build_ext
error: [WinError 2] The system cannot find the file specified
msvc
py_compiler msvc
{'LS_COLORS': 'rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:.
tar=01;31:
.tgz=01;31:.arc=01;31:.arj=01;31:.taz=01;31:.lha=01;31:.lz4=01;31:.lzh=01;31:.lzma=01;31:.tlz=01;31:.txz=01;31:.tzo=01;31:.t7z=01;31:.zip=01;31:.z=01;31:.Z=01;
31:.dz=01;31:.gz=01;31:.lrz=01;31:.lz=01;31:.lzo=01;31:.xz=01;31:.zst=01;31:.tzst=01;31:.bz2=01;31:.bz=01;31:.tbz=01;31:.tbz2=01;31:.tz=01;31:.deb=01;31:.rpm=01;31:.jar
=01;31:.war=01;31:.ear=01;31:.sar=01;31:.rar=01;31:.alz=01;31:.ace=01;31:.zoo=01;31:.cpio=01;31:.7z=01;31:.rz=01;31:.cab=01;31:.wim=01;31:.swm=01;31:.dwm=01;31:.esd=01;3
1:
.jpg=01;35:.jpeg=01;35:.mjpg=01;35:.mjpeg=01;35:.gif=01;35:.bmp=01;35:.pbm=01;35:.pgm=01;35:.ppm=01;35:.tga=01;35:.xbm=01;35:.xpm=01;35:.tif=01;35:.tiff=01;35:.png=01;
35:.svg=01;35:.svgz=01;35:.mng=01;35:.pcx=01;35:.mov=01;35:.mpg=01;35:.mpeg=01;35:.m2v=01;35:.mkv=01;35:.webm=01;35:.ogm=01;35:.mp4=01;35:.m4v=01;35:.mp4v=01;35:.vob=01;
35:
.qt=01;35:.nuv=01;35:.wmv=01;35:.asf=01;35:.rm=01;35:.rmvb=01;35:.flc=01;35:.avi=01;35:.fli=01;35:.flv=01;35:.gl=01;35:.dl=01;35:.xcf=01;35:.xwd=01;35:.yuv=01;35:.cg
m=01;35:
.emf=01;35:.ogv=01;35:.ogx=01;35:.aac=00;36:.au=00;36:.flac=00;36:.m4a=00;36:.mid=00;36:.midi=00;36:.mka=00;36:.mp3=00;36:.mpc=00;36:.ogg=00;36:.ra=00;36:.wav=00
;36:.oga=00;36:.opus=00;36:.spx=00;36:.xspf=00;36:', 'HOSTTYPE': 'x86_64', 'LESSCLOSE': '/usr/bin/lesspipe %s %s', 'LANG': 'C.UTF-8', 'OLDPWD': '/home/matt/repos/flame-blis', 'VIRT
UAL_ENV': '/home/matt/repos/cython-blis/env3.6', 'USER': 'matt', 'PWD': '/home/matt/repos/cython-blis', 'HOME': '/home/matt', 'NAME': 'LAPTOP-OMKOB3VM', 'XDG_DATA_DIRS': '/usr/local/sh
are:/usr/share:/var/lib/snapd/desktop', 'SHELL': '/bin/bash', 'TERM': 'xterm-256color', 'SHLVL': '1', 'LOGNAME': 'matt', 'PATH': '/home/matt/repos/cython-blis/env3.6/bin:/tmp/google-cl
oud-sdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/mnt/c/Users/matt/Documents/cmder/vendor/conemu-maximus5/ConEmu/Scripts:/mnt/c/User
s/matt/Documents/cmder/vendor/conemu-maximus5:/mnt/c/Users/matt/Documents/cmder/vendor/conemu-maximus5/ConEmu:/mnt/c/Python37/Scripts:/mnt/c/Python37:/mnt/c/Program Files (x86)/Intel/I
ntel(R) Management Engine Components/iCLS:/mnt/c/Program Files/Intel/Intel(R) Management Engine Components/iCLS:/mnt/c/Windows/System32:/mnt/c/Windows:/mnt/c/Windows/System32/wbem:/mnt
/c/Windows/System32/WindowsPowerShell/v1.0:/mnt/c/Program Files (x86)/Intel/Intel(R) Management Engine Components/DAL:/mnt/c/Program Files/Intel/Intel(R) Management Engine Components/D
AL:/mnt/c/Program Files (x86)/Intel/Intel(R) Management Engine Components/IPT:/mnt/c/Program Files/Intel/Intel(R) Management Engine Components/IPT:/mnt/c/Program Files/Intel/WiFi/bin:/
mnt/c/Program Files/Common Files/Intel/WirelessCommon:/mnt/c/Program Files (x86)/NVIDIA Corporation/PhysX/Common:/mnt/c/ProgramData/chocolatey/bin:/mnt/c/Program Files/Git/cmd:/mnt/c/P
rogram Files/LLVM/bin:/mnt/c/Windows/System32:/mnt/c/Windows:/mnt/c/Windows/System32/wbem:/mnt/c/Windows/System32/WindowsPowerShell/v1.0:/mnt/c/Windows/System32/OpenSSH:/mnt/c/Program
Files/nodejs:/mnt/c/Users/matt/AppData/Local/Microsoft/WindowsApps:/mnt/c/Users/matt/AppData/Local/Programs/Microsoft VS Code/bin:/mnt/c/Users/matt/AppData/Roaming/npm:/snap/bin:/mnt/c
/Program Files/Oracle/VirtualBox', 'PS1': '(env3.6) \[\e]0;\u@\h: \w\a\]${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[
00m\]\$ ', 'VAGRANT_HOME': '/home/matt/.vagrant.d/', 'LESSOPEN': '| /usr/bin/lesspipe %s', '
': '/home/matt/repos/cython-blis/env3.6/bin/python'}
clang -c C:\Users\Administrator\AppData\Local\Temp\pip-install-ik0g5bqb\blis\blis_src\config\bulldozer\bli_cntx_init_bulldozer.c -o C:\Users\ADMINI~1\AppData\Local\Temp\tmp4u17w
et6\bli_cntx_init_bulldozer.o -O2 -funroll-all-loops -std=c99 -D_POSIX_C_SOURCE=200112L -DBLIS_VERSION_STRING="0.5.0-6" -DBLIS_IS_BUILDING_LIBRARY -Iinclude\windows-x86_64 -I.\frame\3
-I.\frame\ind\ukernels\ -I.\frame\1m\ -I.\frame\1f\ -I.\frame\1\ -I.\frame\include -IC:\Users\Administrator\AppData\Local\Temp\pip-install-ik0g5bqb\blis\blis_src\include\windows-x86_
64
----------------------------------------
ERROR: Command errored out with exit status 1: 'c:\program files\python38\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\Administrator\AppData\L
ocal\Temp\pip-install-ik0g5bqb\blis\setup.py'"'"'; file='"'"'C:\Users\Administrator\AppData\Local\Temp\pip-install-ik0g5bqb\blis\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\Administrator\AppData
\Local\Temp\pip-record-bm88393p\install-record.txt' --single-version-externally-managed --prefix 'C:\Users\Administrator\AppData\Local\Temp\pip-build-env-o5gip079\overlay' --compile Ch
eck the logs for full command output.

ERROR: Command errored out with exit status 1: 'c:\program files\python38\python.exe' 'c:\program files\python38\lib\site-packages\pip' install --ignore-installed --no-user --prefix 'C
:\Users\Administrator\AppData\Local\Temp\pip-build-env-o5gip079\overlay' --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- setuptools 'whe
el>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.

@kmrjyt
Copy link

kmrjyt commented Dec 28, 2019

I am using 64 bit Python 3.8.1 not 32 bit. still facing the issue

@DSP209
Copy link

DSP209 commented Dec 30, 2019

I am using 64 bit Python 3.8.1 not 32 bit. still facing the issue

same !

@rdmurai
Copy link

rdmurai commented Jan 26, 2020

Try install LLVM compiler and try pip install after installation
http://releases.llvm.org/download.html
worked for me

@MasterThiol
Copy link

MasterThiol commented Feb 13, 2020

I came across the same error so l downloaded all the files and used 'python setup.py build', 'python setup.py install', still failed, saying 'setup script exited with error: [WinError 2] The system cannot find the file specified' about something...

@sourav8168
Copy link

Same issue continues

@Sanidhya-Tyagi
Copy link

I am having same issue help please

@frien137
Copy link

same

@sornig
Copy link

sornig commented Apr 11, 2020

Had the same error when trying to install latest version (1.0.5), but it worked with
pip install chatterbot==1.0.4

@tneerajkumar
Copy link

Had the same error when trying to install latest version (1.0.5), but it worked with
pip install chatterbot==1.0.4

Yes this has solved mine also.
Thanks

@tneerajkumar
Copy link

Did anyone has the solution for latest chatterbot installation

@rehamessameltagoury
Copy link

Had the same error when trying to install latest version (1.0.5), but it worked with
pip install chatterbot==1.0.4

Thank you

@giovannasg
Copy link

hi!
i have the same error (Windows1064bit+Python3.8) trying to install version (1.0.5), but it worked with "pip install chatterbot==1.0.4"
Is it a bug?

@arsh-dev
Copy link

pip install chatterbot==1.0.4

thank you very much!
it worked.
i was stucked in this from last 2 hours.
thank you!!!!!

@ari-hacks
Copy link

pip install chatterbot==1.0.4

🙏 👍

@david3climas
Copy link

The same error occurred when trying to install, so I installed an earlier version that worked with
pip install chatterbot==1.0.4

@leocharrua
Copy link

Try install LLVM compiler and try pip install after installation
http://releases.llvm.org/download.html
worked for me

Thanks rdmurai ... This worked for me and with the last version (1.0.5)

@psychemedia
Copy link

There seems to be a pinned dependency on a relatively old version of spacy that may have install issues.

@henry-glitch
Copy link

thankyou the pip install chatterbot==1.0.4 command worked

@suraei
Copy link

suraei commented May 19, 2020

I had the same error, in windows works with
pip install chatterbot==1.0.4

@PN1234
Copy link

PN1234 commented May 31, 2020

I had the same error but it worked with
pip install chatterbot==1.0.4.
Thanks a lot .
Thankyou so much

@kamuridesu
Copy link

kamuridesu commented Jun 16, 2020

same issues, worked installing 1.0.4 btw

@PN1234
Copy link

PN1234 commented Jun 18, 2020

same issues, worked installing 1.0.4 btw

But you wont be able to work with it properly because it does not have some chatterbot libraries which is required.

@Roland-coder
Copy link

I had the same error, in windows works with
pip install chatterbot==1.0.4

Thank you so much. it finally worked for me

@PN1234
Copy link

PN1234 commented Jun 27, 2020

I had the same error, in windows works with
pip install chatterbot==1.0.4

Thank you so much. it finally worked for me

yes,it worked for me also but to utilise its some attributes I had to install previous version of python.

@hrishabh1421
Copy link

Thank you so much💜 pip install ==chatterbot1.0.4 works💯💯

@eswarreddy55
Copy link

after trying pip install ==chatterbot1.0.4 i got
Found existing installation: PyYAML 5.3.1
ERROR: Cannot uninstall 'PyYAML'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.

C:\Users\eswar>pip install PyYAML 5.3.1
Requirement already satisfied: PyYAML in d:\users\eswar\anaconda3\lib\site-packages (5.3.1)
ERROR: Could not find a version that satisfies the requirement 5.3.1 (from versions: none)
ERROR: No matching distribution found for 5.3.1
and
C:\Users\eswar\Desktop\ml>chatbot.py
Traceback (most recent call last):
File "C:\Users\eswar\Desktop\ml\chatbot.py", line 1, in
from chatterbot import ChatBot
ModuleNotFoundError: No module named 'chatterbot'

@eswarreddy55
Copy link

does anyone have a solution for this

@ml18h3j
Copy link

ml18h3j commented Aug 12, 2020

does anyone have a solution for this

Did u fix it ? I got same problem.

@eswarreddy55
Copy link

eswarreddy55 commented Aug 12, 2020

@ml18h3j
do one thing setup virtual environment in cmd prompt as the following cmd:
1.python -m venv env
2..\env\Scripts\activate
('if it is windows')

@NorseGaud
Copy link

On macOS, I just ran pip3 install spacy

@gunthercox
Copy link
Owner

I believe this issue may have been resolved in #2027, these changes were released in ChatterBot 1.0.8 please let me know if you encounter any further issues after upgrading.

@NorseGaud
Copy link

@gunthercox I just installed it for the first time today at 1.0.8 and it was a problem.

@gunthercox
Copy link
Owner

Very strange, I can't imaging what would still be causing a C dependency to be installed, but I'll investigate further and see what I can come up with. Thank you for testing and letting me know.

@fabioaragao
Copy link

Tive o mesmo erro ao tentar instalar a versão mais recente (1.0.5), mas funcionou com
pip install chatterbot==1.0.4

Funcionou pra mim aqui com esta dica.. Windows 10 64bits, Python 3.8

@TimoteusRuotsalainen
Copy link

see #2009 (comment)

@leenjiru
Copy link

Had the same issue on python 3.8, lowered to python 3.7 and it now works fine.
Or try: pip install git+git://github.com/gunthercox/ChatterBot.git@master

@strelokXxX
Copy link

experiencing the same issue, but im trying to install through pycharm terminal, with python version 3.8.6 x 64, any help?

@dr-hextanium
Copy link

Had the same error when trying to install latest version (1.0.5), but it worked with
pip install chatterbot==1.0.4

Thank you so much!

@nadadi
Copy link

nadadi commented Nov 21, 2020

Had the same error when trying to install latest version (1.0.5), but it worked with
pip install chatterbot==1.0.4

You have save my day! Thank you so much :D

@AgarwalMegha51
Copy link

ERROR: Command errored out with exit status 1:
command: 'C:\Users\MEGHA AGARWAL\anaconda3\envs\chatbot\python.exe' 'C:\Users\MEGHA AGARWAL\anaconda3\envs
chatbot\lib\site-packages\pip' install --ignore-installed --no-user --prefix 'C:\Users\MEGHA AGARWAL\AppData\L
ocal\Temp\pip-build-env-lypo5f9l\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 (278 lines):
Collecting setuptools
Using cached setuptools-50.3.2-py3-none-any.whl (785 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-win_amd64.whl (1.7 MB)
Collecting cymem<2.1.0,>=2.0.2
Using cached cymem-2.0.4-cp38-cp38-win_amd64.whl (36 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.4-cp38-cp38-win_amd64.whl (21 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)
Collecting wasabi<1.1.0,>=0.0.9
Using cached wasabi-0.8.0-py3-none-any.whl (23 kB)
Collecting srsly<1.1.0,>=0.0.6
Using cached srsly-1.0.4-cp38-cp38-win_amd64.whl (287 kB)
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 tqdm<5.0.0,>=4.10.0
Using cached tqdm-4.54.0-py2.py3-none-any.whl (69 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: 'C:\Users\MEGHA AGARWAL\anaconda3\envs\chatbot\python.exe' -u -c 'import sys, setuptools, tokeni
ze; sys.argv[0] = '"'"'C:\Users\MEGHA AGARWAL\AppData\Local\Temp\pip-install-67ebcvic\preshed\setup.py
'"'"'; file='"'"'C:\Users\MEGHA AGARWAL\AppData\Local\Temp\pip-install-67ebcvic\preshed\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\MEGHA AGARWAL\AppData\Local\Te
mp\pip-wheel-icu1d71z'
cwd: C:\Users\MEGHA AGARWAL\AppData\Local\Temp\pip-install-67ebcvic\preshed
Complete output (21 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
running build_ext
building 'preshed.maps' extension
error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://
visualstudio.microsoft.com/visual-cpp-build-tools/
----------------------------------------
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: 'C:\Users\MEGHA AGARWAL\anaconda3\envs\chatbot\python.exe' -u -c 'import sys, setuptools, tokeni
ze; sys.argv[0] = '"'"'C:\Users\MEGHA AGARWAL\AppData\Local\Temp\pip-install-67ebcvic\thinc\setup.py'"
'"'; file='"'"'C:\Users\MEGHA AGARWAL\AppData\Local\Temp\pip-install-67ebcvic\thinc\setup.py'"'"';
f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.clos
e();exec(compile(code, file, '"'"'exec'"'"'))' bdist_wheel -d 'C:\Users\MEGHA AGARWAL\AppData\Local\Temp\p
ip-wheel-s_ceseu2'
cwd: C:\Users\MEGHA AGARWAL\AppData\Local\Temp\pip-install-67ebcvic\thinc
Complete output (166 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
running build_ext
error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://

visualstudio.microsoft.com/visual-cpp-build-tools/
----------------------------------------
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\MEGHA AGARWAL\anaconda3\envs\chatbot\python.exe' -u -c 'import sys, setuptools, tokeni
ze; sys.argv[0] = '"'"'C:\Users\MEGHA AGARWAL\AppData\Local\Temp\pip-install-67ebcvic\blis\setup.py'"'
"'; file='"'"'C:\Users\MEGHA AGARWAL\AppData\Local\Temp\pip-install-67ebcvic\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\MEGHA AGARWAL\AppData\Local\Temp\pip
-wheel-4fcd94f4'
cwd: C:\Users\MEGHA AGARWAL\AppData\Local\Temp\pip-install-67ebcvic\blis
Complete output (21 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
running build_ext
error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://
visualstudio.microsoft.com/visual-cpp-build-tools/
----------------------------------------
ERROR: Failed building wheel for blis
Running setup.py clean for blis
Failed to build preshed thinc blis
Installing collected packages: setuptools, wheel, Cython, cymem, preshed, murmurhash, numpy, blis, wasabi, s
rsly, plac, tqdm, thinc
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: 'C:\Users\MEGHA AGARWAL\anaconda3\envs\chatbot\python.exe' -u -c 'import sys, setuptools, toke
nize; sys.argv[0] = '"'"'C:\Users\MEGHA AGARWAL\AppData\Local\Temp\pip-install-67ebcvic\preshed\setup.
py'"'"'; file='"'"'C:\Users\MEGHA AGARWAL\AppData\Local\Temp\pip-install-67ebcvic\preshed\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\MEGHA AGARWAL\AppData\Loca
l\Temp\pip-record-9kmr7nbr\install-record.txt' --single-version-externally-managed --prefix 'C:\Users\MEGHA AG
ARWAL\AppData\Local\Temp\pip-build-env-lypo5f9l\overlay' --compile --install-headers 'C:\Users\MEGHA AGARWAL\A
ppData\Local\Temp\pip-build-env-lypo5f9l\overlay\Include\preshed'
cwd: C:\Users\MEGHA AGARWAL\AppData\Local\Temp\pip-install-67ebcvic\preshed
Complete output (6 lines):
running install
running build
running build_py
running build_ext
building 'preshed.maps' extension
error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https:
//visualstudio.microsoft.com/visual-cpp-build-tools/
----------------------------------------
ERROR: Command errored out with exit status 1: 'C:\Users\MEGHA AGARWAL\anaconda3\envs\chatbot\python.exe' -u
-c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\MEGHA AGARWAL\AppData\Local\Temp\pip-
install-67ebcvic\preshed\setup.py'"'"'; file='"'"'C:\Users\MEGHA AGARWAL\AppData\Local\Temp\pip-in
stall-67ebcvic\preshed\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().repla
ce('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record 'C:
\Users\MEGHA AGARWAL\AppData\Local\Temp\pip-record-9kmr7nbr\install-record.txt' --single-version-externally-ma
naged --prefix 'C:\Users\MEGHA AGARWAL\AppData\Local\Temp\pip-build-env-lypo5f9l\overlay' --compile --install-
headers 'C:\Users\MEGHA AGARWAL\AppData\Local\Temp\pip-build-env-lypo5f9l\overlay\Include\preshed' Check the l
ogs for full command output.

ERROR: Command errored out with exit status 1: 'C:\Users\MEGHA AGARWAL\anaconda3\envs\chatbot\python.exe' 'C:
Users\MEGHA AGARWAL\anaconda3\envs\chatbot\lib\site-packages\pip' install --ignore-installed --no-user --prefi
x 'C:\Users\MEGHA AGARWAL\AppData\Local\Temp\pip-build-env-lypo5f9l\overlay' --no-warn-script-location --no-bi
nary :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 f
ull command output.

please help me to solve my error

@MterEcko
Copy link

Tuve el mismo error, en Windows funciona con
pip install chatterbot == 1.0.4

Muchas gracias. finalmente funcionó para mí

ese me funciono a mi.

@rajpurohityogesh
Copy link

Had the same error when trying to install the latest version (1.0.5), but it worked with
pip install chatterbot==1.0.4

Thank you brother I was facing this error for a couple of days it helps.

@NISH-Original
Copy link

Had the same error when trying to install latest version (1.0.5), but it worked with
pip install chatterbot==1.0.4

It worked!!! thank you so much 😀

@TheSecMaven
Copy link

As a note, anything on python 3.8 and above won't work with the versions discussed here, we need #1963 to hit.

@rafsunsheikh
Copy link

try to install the chatterbot base version.

pip install chatterbot==1.0.0

I hope this will help you guys.

@CSvaibhavsoni
Copy link

pip install chatterbot==1.0.4

@damakro
Copy link

damakro commented May 13, 2021

Amen

@philippwulff
Copy link

Also just came across the issue in late 2021 and pip install chatterbot==1.0.4 worked for me.

@Siyamfahad
Copy link

Had the same error when trying to install latest version (1.0.5), but it worked with pip install chatterbot==1.0.4

thanks man worked

@julianohenrcampos
Copy link

Alguém com esse erro, não consigo instalar o chatterbot

note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for srsly
Failed to build preshed thinc blis srsly
ERROR: Could not build wheels for srsly, which is required to install pyproject.toml-based projects
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

× pip subprocess to install build dependencies did not run successfully.
│ exit code: 1
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.

@tarek294
Copy link

You need install suitable python version chatterbot work with python version less than 3.8
Check this link
https://www.youtube.com/watch?v=DhLblK0lLPs

@arya2910
Copy link

so all this issue will get solved if you have python versuion 3.7.8. this worked for me!!

@icywaters
Copy link

--from a Youtube video comment: https://www.youtube.com/watch?v=ibu1Pjb6qEM "
@vishnujoshi2461
A common error SOLVED
If you are using Python 3.8 , download the previous version

Go to CMD
pip install chatterbot==1.0.4

This will work and everything is installed

You will probably get an error after some time, where it says
File "C:\Python38\lib\site-packages\sqlalchemy\util\compat.py

", line 264, in
time_func = time.clock
AttributeError: module 'time' has no attribute 'clock'

This is because time.clock() function was removed in Py 3.8.

Go to the search bar and then paste the location given right above the last line of error

It will look something like this : C:\Python38\lib\site-packages\sqlalchemy\util\compat.py

Open file with IDLE or whatever editor you have

Then , go to line 264 in that . It would be written
time_func = time.clock
()

Instead of this change, it to
time.perf_counter()

Save the file and now run it. It will work"

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