当前位置: 首页 > 知识库问答 >
问题:

无法安装聊天机器人。引发错误[重复]

牧梓
2023-03-14

我试图安装chatterbot,但我得到了以下错误,我试图降级到chatterbot==1.0.5,但它仍然提出了错误,给出错误,而安装依赖关系

请帮助我没有愚蠢的答案提前谢谢你!aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa

垃圾至于在发布此XD时删除问题

ERROR: Command errored out with exit status 1:
   command: 'c:\users\anubhab\appdata\local\programs\python\python38-32\python.exe' 'c:\users\anubhab\appdata\local\programs\python\python38-32\lib\site-packages\pip' install --ignore-installed --no-user --prefix 'C:\Users\Anubhab\AppData\Local\Temp\pip-build-env-23bg67bo\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 (217 lines):
  Collecting setuptools
    Using cached https://files.pythonhosted.org/packages/c3/a9/5dc32465951cf4812e9e93b4ad2d314893c2fa6d5f66ce5c057af6e76d85/setuptools-49.6.0-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/17/60/d7c00073e239e9650e38a17f03beca3480b538bd7a6921d7042cfb6bda43/Cython-0.29.21-cp38-cp38-win32.whl
  Collecting cymem<2.1.0,>=2.0.2
    Using cached https://files.pythonhosted.org/packages/ce/8d/d095bbb109a004351c85c83bc853782fc27692693b305dd7b170c36a1262/cymem-2.0.3.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\anubhab\appdata\local\programs\python\python38-32\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\Anubhab\\AppData\\Local\\Temp\\pip-install-rwdl_zm9\\thinc\\setup.py'"'"'; __file__='"'"'C:\\Users\\Anubhab\\AppData\\Local\\Temp\\pip-install-rwdl_zm9\\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 pip-egg-info
           cwd: C:\Users\Anubhab\AppData\Local\Temp\pip-install-rwdl_zm9\thinc\
      Complete output (195 lines):
      Processing numpy/random\_bounded_integers.pxd.in
      Processing numpy/random\bit_generator.pyx
      Processing numpy/random\mtrand.pyx
      Processing numpy/random\_bounded_integers.pyx.in
      Processing numpy/random\_common.pyx
      Processing numpy/random\_generator.pyx
      Processing numpy/random\_mt19937.pyx
      Processing numpy/random\_pcg64.pyx
      Processing numpy/random\_philox.pyx
      Processing numpy/random\_sfc64.pyx
      Cythonizing sources
      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'
      non-existing path in 'numpy\\distutils': 'site.cfg'
      Running from numpy source directory.
      C:\Users\Anubhab\AppData\Local\Temp\easy_install-b61r_j0_\numpy-1.19.1\setup.py:470: UserWarning: Unrecognized setuptools command, proceeding with generating Cython sources and expanding templates
        run_build = parse_setuppy_commands()
      C:\Users\Anubhab\AppData\Local\Temp\easy_install-b61r_j0_\numpy-1.19.1\numpy\distutils\system_info.py:1914: 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.
        if self._calc_info(blas):
      C:\Users\Anubhab\AppData\Local\Temp\easy_install-b61r_j0_\numpy-1.19.1\numpy\distutils\system_info.py:1914: 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.
        if self._calc_info(blas):
      C:\Users\Anubhab\AppData\Local\Temp\easy_install-b61r_j0_\numpy-1.19.1\numpy\distutils\system_info.py:1914: 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.
        if self._calc_info(blas):
      C:\Users\Anubhab\AppData\Local\Temp\easy_install-b61r_j0_\numpy-1.19.1\numpy\distutils\system_info.py:1748: 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.
        return getattr(self, '_calc_info_{}'.format(name))()
      C:\Users\Anubhab\AppData\Local\Temp\easy_install-b61r_j0_\numpy-1.19.1\numpy\distutils\system_info.py:1748: 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.
        return getattr(self, '_calc_info_{}'.format(name))()
      c:\users\anubhab\appdata\local\programs\python\python38-32\lib\distutils\dist.py:274: UserWarning: Unknown distribution option: 'define_macros'
        warnings.warn(msg)
      Traceback (most recent call last):
        File "c:\users\anubhab\appdata\local\programs\python\python38-32\lib\site-packages\setuptools\msvc.py", line 489, in _find_latest_available_vc_ver
          return self.find_available_vc_vers()[-1]
      IndexError: list index out of range

      During handling of the above exception, another exception occurred:

      Traceback (most recent call last):
        File "c:\users\anubhab\appdata\local\programs\python\python38-32\lib\distutils\core.py", line 148, in setup
          dist.run_commands()
        File "c:\users\anubhab\appdata\local\programs\python\python38-32\lib\distutils\dist.py", line 966, in run_commands
          self.run_command(cmd)
        File "c:\users\anubhab\appdata\local\programs\python\python38-32\lib\distutils\dist.py", line 985, in run_command
          cmd_obj.run()
        File "c:\users\anubhab\appdata\local\programs\python\python38-32\lib\site-packages\setuptools\command\bdist_egg.py", line 163, in run
          self.run_command("egg_info")
        File "c:\users\anubhab\appdata\local\programs\python\python38-32\lib\distutils\cmd.py", line 313, in run_command
          self.distribution.run_command(command)
        File "c:\users\anubhab\appdata\local\programs\python\python38-32\lib\distutils\dist.py", line 985, in run_command
          cmd_obj.run()
        File "C:\Users\Anubhab\AppData\Local\Temp\easy_install-b61r_j0_\numpy-1.19.1\numpy\distutils\command\egg_info.py", line 24, in run
        File "c:\users\anubhab\appdata\local\programs\python\python38-32\lib\distutils\cmd.py", line 313, in run_command
          self.distribution.run_command(command)
        File "c:\users\anubhab\appdata\local\programs\python\python38-32\lib\distutils\dist.py", line 985, in run_command
          cmd_obj.run()
        File "C:\Users\Anubhab\AppData\Local\Temp\easy_install-b61r_j0_\numpy-1.19.1\numpy\distutils\command\build_src.py", line 144, in run
        File "C:\Users\Anubhab\AppData\Local\Temp\easy_install-b61r_j0_\numpy-1.19.1\numpy\distutils\command\build_src.py", line 155, in build_sources
        File "C:\Users\Anubhab\AppData\Local\Temp\easy_install-b61r_j0_\numpy-1.19.1\numpy\distutils\command\build_src.py", line 288, in build_library_sources
        File "C:\Users\Anubhab\AppData\Local\Temp\easy_install-b61r_j0_\numpy-1.19.1\numpy\distutils\command\build_src.py", line 378, in generate_sources
        File "numpy\core\setup.py", line 650, in get_mathlib_info
        File "c:\users\anubhab\appdata\local\programs\python\python38-32\lib\distutils\command\config.py", line 241, in try_link
          self._check_compiler()
        File "C:\Users\Anubhab\AppData\Local\Temp\easy_install-b61r_j0_\numpy-1.19.1\numpy\distutils\command\config.py", line 52, in _check_compiler
        File "c:\users\anubhab\appdata\local\programs\python\python38-32\lib\distutils\_msvccompiler.py", line 253, in initialize
          vc_env = _get_vc_env(plat_spec)
        File "c:\users\anubhab\appdata\local\programs\python\python38-32\lib\site-packages\setuptools\msvc.py", line 185, in msvc14_get_vc_env
          return EnvironmentInfo(plat_spec, vc_min_ver=14.0).return_env()
        File "c:\users\anubhab\appdata\local\programs\python\python38-32\lib\site-packages\setuptools\msvc.py", line 843, in __init__
          self.si = SystemInfo(self.ri, vc_ver)
        File "c:\users\anubhab\appdata\local\programs\python\python38-32\lib\site-packages\setuptools\msvc.py", line 485, in __init__
          self.vc_ver = vc_ver or self._find_latest_available_vc_ver()
        File "c:\users\anubhab\appdata\local\programs\python\python38-32\lib\site-packages\setuptools\msvc.py", line 492, in _find_latest_available_vc_ver
          raise distutils.errors.DistutilsPlatformError(err)
      distutils.errors.DistutilsPlatformError: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": https://visualstudio.microsoft.com/downloads/

      During handling of the above exception, another exception occurred:

      Traceback (most recent call last):
        File "c:\users\anubhab\appdata\local\programs\python\python38-32\lib\site-packages\setuptools\sandbox.py", line 154, in save_modules
          yield saved
        File "c:\users\anubhab\appdata\local\programs\python\python38-32\lib\site-packages\setuptools\sandbox.py", line 195, in setup_context
          yield
        File "c:\users\anubhab\appdata\local\programs\python\python38-32\lib\site-packages\setuptools\sandbox.py", line 250, in run_setup
          _execfile(setup_script, ns)
        File "c:\users\anubhab\appdata\local\programs\python\python38-32\lib\site-packages\setuptools\sandbox.py", line 45, in _execfile
          exec(code, globals, locals)
        File "C:\Users\Anubhab\AppData\Local\Temp\easy_install-b61r_j0_\numpy-1.19.1\setup.py", line 499, in <module>
        File "C:\Users\Anubhab\AppData\Local\Temp\easy_install-b61r_j0_\numpy-1.19.1\setup.py", line 491, in setup_package
        File "C:\Users\Anubhab\AppData\Local\Temp\easy_install-b61r_j0_\numpy-1.19.1\numpy\distutils\core.py", line 169, in setup
        File "c:\users\anubhab\appdata\local\programs\python\python38-32\lib\site-packages\setuptools\__init__.py", line 145, in setup
          return distutils.core.setup(**attrs)
        File "c:\users\anubhab\appdata\local\programs\python\python38-32\lib\distutils\core.py", line 163, in setup
          raise SystemExit("error: " + str(msg))
      SystemExit: error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": https://visualstudio.microsoft.com/downloads/

      During handling of the above exception, another exception occurred:

      Traceback (most recent call last):
        File "c:\users\anubhab\appdata\local\programs\python\python38-32\lib\site-packages\setuptools\command\easy_install.py", line 1144, in run_setup
          run_setup(setup_script, args)
        File "c:\users\anubhab\appdata\local\programs\python\python38-32\lib\site-packages\setuptools\sandbox.py", line 253, in run_setup
          raise
        File "c:\users\anubhab\appdata\local\programs\python\python38-32\lib\contextlib.py", line 131, in __exit__
          self.gen.throw(type, value, traceback)
        File "c:\users\anubhab\appdata\local\programs\python\python38-32\lib\site-packages\setuptools\sandbox.py", line 195, in setup_context
          yield
        File "c:\users\anubhab\appdata\local\programs\python\python38-32\lib\contextlib.py", line 131, in __exit__
          self.gen.throw(type, value, traceback)
        File "c:\users\anubhab\appdata\local\programs\python\python38-32\lib\site-packages\setuptools\sandbox.py", line 166, in save_modules
          saved_exc.resume()
        File "c:\users\anubhab\appdata\local\programs\python\python38-32\lib\site-packages\setuptools\sandbox.py", line 141, in resume
          six.reraise(type, exc, self._tb)
        File "c:\users\anubhab\appdata\local\programs\python\python38-32\lib\site-packages\setuptools\_vendor\six.py", line 685, in reraise
          raise value.with_traceback(tb)
        File "c:\users\anubhab\appdata\local\programs\python\python38-32\lib\site-packages\setuptools\sandbox.py", line 154, in save_modules
          yield saved
        File "c:\users\anubhab\appdata\local\programs\python\python38-32\lib\site-packages\setuptools\sandbox.py", line 195, in setup_context
          yield
        File "c:\users\anubhab\appdata\local\programs\python\python38-32\lib\site-packages\setuptools\sandbox.py", line 250, in run_setup
          _execfile(setup_script, ns)
        File "c:\users\anubhab\appdata\local\programs\python\python38-32\lib\site-packages\setuptools\sandbox.py", line 45, in _execfile
          exec(code, globals, locals)
        File "C:\Users\Anubhab\AppData\Local\Temp\easy_install-b61r_j0_\numpy-1.19.1\setup.py", line 499, in <module>
        File "C:\Users\Anubhab\AppData\Local\Temp\easy_install-b61r_j0_\numpy-1.19.1\setup.py", line 491, in setup_package
        File "C:\Users\Anubhab\AppData\Local\Temp\easy_install-b61r_j0_\numpy-1.19.1\numpy\distutils\core.py", line 169, in setup
        File "c:\users\anubhab\appdata\local\programs\python\python38-32\lib\site-packages\setuptools\__init__.py", line 145, in setup
          return distutils.core.setup(**attrs)
        File "c:\users\anubhab\appdata\local\programs\python\python38-32\lib\distutils\core.py", line 163, in setup
          raise SystemExit("error: " + str(msg))
      SystemExit: error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": https://visualstudio.microsoft.com/downloads/

      During handling of the above exception, another exception occurred:

      Traceback (most recent call last):
        File "<string>", line 1, in <module>
        File "C:\Users\Anubhab\AppData\Local\Temp\pip-install-rwdl_zm9\thinc\setup.py", line 261, in <module>
          setup_package()
        File "C:\Users\Anubhab\AppData\Local\Temp\pip-install-rwdl_zm9\thinc\setup.py", line 201, in setup_package
          setup(
        File "c:\users\anubhab\appdata\local\programs\python\python38-32\lib\site-packages\setuptools\__init__.py", line 144, in setup
          _install_setup_requires(attrs)
        File "c:\users\anubhab\appdata\local\programs\python\python38-32\lib\site-packages\setuptools\__init__.py", line 139, in _install_setup_requires
          dist.fetch_build_eggs(dist.setup_requires)
        File "c:\users\anubhab\appdata\local\programs\python\python38-32\lib\site-packages\setuptools\dist.py", line 716, in fetch_build_eggs
          resolved_dists = pkg_resources.working_set.resolve(
        File "c:\users\anubhab\appdata\local\programs\python\python38-32\lib\site-packages\pkg_resources\__init__.py", line 780, in resolve
          dist = best[req.key] = env.best_match(
        File "c:\users\anubhab\appdata\local\programs\python\python38-32\lib\site-packages\pkg_resources\__init__.py", line 1065, in best_match
          return self.obtain(req, installer)
        File "c:\users\anubhab\appdata\local\programs\python\python38-32\lib\site-packages\pkg_resources\__init__.py", line 1077, in obtain
          return installer(requirement)
        File "c:\users\anubhab\appdata\local\programs\python\python38-32\lib\site-packages\setuptools\dist.py", line 786, in fetch_build_egg
          return cmd.easy_install(req)
        File "c:\users\anubhab\appdata\local\programs\python\python38-32\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\anubhab\appdata\local\programs\python\python38-32\lib\site-packages\setuptools\command\easy_install.py", line 705, in install_item
          dists = self.install_eggs(spec, download, tmpdir)
        File "c:\users\anubhab\appdata\local\programs\python\python38-32\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\anubhab\appdata\local\programs\python\python38-32\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\anubhab\appdata\local\programs\python\python38-32\lib\site-packages\setuptools\command\easy_install.py", line 1146, in run_setup
          raise DistutilsError("Setup script exited with %s" % (v.args[0],))
      distutils.errors.DistutilsError: Setup script exited with error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": https://visualstudio.microsoft.com/downloads/
      ----------------------------------------
  ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
  WARNING: You are using pip version 19.2.3, however version 20.2.2 is available.
  You should consider upgrading via the 'python -m pip install --upgrade pip' command.
  ----------------------------------------
ERROR: Command errored out with exit status 1: 'c:\users\anubhab\appdata\local\programs\python\python38-32\python.exe' 'c:\users\anubhab\appdata\local\programs\python\python38-32\lib\site-packages\pip' install --ignore-installed --no-user --prefix 'C:\Users\Anubhab\AppData\Local\Temp\pip-build-env-23bg67bo\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.

共有1个答案

谢昂雄
2023-03-14

你试过安装微软Visual C 14.0吗?

系统出口: 错误: 微软视觉 C 14.0 是必需的。使用“微软可视化C构建工具”获取它:https://visualstudio.microsoft.com/downloads/

 类似资料:
  • 我正试图在IBM Bluemix上的Node RED中安装redbot。正如这里所建议的,我正在使用管理调色板安装它。我可以通过输入聊天机器人在“安装”选项卡中找到它。我单击安装,然后出现一个弹出窗口说: 安装前,请阅读节点的文档。有些节点具有无法自动解析的依赖项,可能需要重新启动Node RED。 我再次单击install,加载一点后,它会显示以下消息: 安装失败:节点红色contrib聊天机器

  • 译者:毛毛虫 作者: Matthew Inkawhich 在本教程中,我们探索了一个好玩和有趣的循环序列到序列的模型用例。我们将用 Cornell Movie-Dialogs Corpus处的电影剧本来训练一个简单的聊天机器人。 在人工智能研究领域中对话模型模型是一个非常热门的话题。聊天机器人可以在各种设置中找到,包括客户服务应用和在线帮助。这些机器人通常由基于检索的模型提供支持,这些输出是某些形

  • 我是一名java开发人员,我想开发一个聊天机器人,并集成到网站、脸书页面和WhatsApp群组中……Java中有没有一个非常好的框架,可以让我开发这个聊天机器人,并在未来集成人工智能。或者我用python或者NodeJs更好。如果是,哪个框架更适合这个项目。谢了。

  • 本文向大家介绍Python QQBot库的QQ聊天机器人,包括了Python QQBot库的QQ聊天机器人的使用技巧和注意事项,需要的朋友参考一下 本文实例为大家分享了Python QQBot库的QQ聊天机器人的具体代码,供大家参考,具体内容如下 项目地址:https://github.com/pandolia/qqbot 1.安装 2.主动发出消息 3.根据事件回复消息 首先我们需要在命令行启动

  • 本文向大家介绍Python如何实现机器人聊天,包括了Python如何实现机器人聊天的使用技巧和注意事项,需要的朋友参考一下 今天午休的时候,无意之中看了一篇博客,名字叫Python实现机器人,感觉挺有的意思的。 于是用其写了一个简单的Python聊天,源码如下所示: 注意:如果出现某某模块找不到的时候,记得使用pip安装对应的模块。 效果图如下所示: 唯一美中不足的是英文,不过没关系,国内有图灵机

  • 聊天机器人是可行的 我:chatbot,你好! chatbot:你也好! 我:聊天机器人可行吗? chatbot:你不要怀疑这是天方夜谭,我不就在这里吗?世界上还有很多跟我一样聪明的机器人呢,你听过IBM公司在2010年就研发出来了的Watson问答系统吗?它可比我要聪明100倍呢 我:噢,想起来了,据说Watson在智力竞赛中竟然战胜了人类选手。但是我了解到它有一些缺陷:因为它还只是对信息检索技