我无法在没有错误的情况下升级 Chattbot

如何解决我无法在没有错误的情况下升级 Chattbot

当我尝试升级 chatterbot 时,它不起作用。它说得到 c++ 14.0 或更高版本,我有!我必须升级它,因为它在代码中的某个地方使用了 time.clock(),但它不再起作用,所以我收到一个错误。但是,当我执行 pip install chatterbot --upgrade 时,我收到此错误消息:

  ERROR: Command errored out with exit status 1:
   command: 'c:\users\itsuw\appdata\local\programs\python\python39\python.exe' 'c:\users\itsuw\appdata\local\programs\python\python39\lib\site-packages\pip' install --ignore-installed --no-user --prefix 'C:\Users\itsuw\AppData\Local\Temp\pip-build-env-10ire469\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 (60 lines):
  Collecting cymem<2.1.0,>=2.0.2
    Using cached cymem-2.0.5-cp39-cp39-win_amd64.whl (36 kB)
  Collecting murmurhash<1.1.0,>=0.28.0
    Using cached murmurhash-1.0.5-cp39-cp39-win_amd64.whl (21 kB)
  Collecting preshed<2.1.0,>=2.0.1
    Using cached preshed-2.0.1.tar.gz (113 kB)
  Collecting thinc<7.1.0,>=7.0.8
    Using cached thinc-7.0.8.tar.gz (1.9 MB)
  Collecting wheel<0.33.0,>0.32.0
    Using cached wheel-0.32.3-py2.py3-none-any.whl (21 kB)
  Collecting blis<0.3.0,>=0.2.1
    Using cached blis-0.2.4.tar.gz (1.5 MB)
  Collecting numpy>=1.7.0
    Using cached numpy-1.19.5-cp39-cp39-win_amd64.whl (13.3 MB)
  Collecting plac<1.0.0,>=0.9.6
    Using cached plac-0.9.6-py2.py3-none-any.whl (20 kB)
  Collecting srsly<1.1.0,>=0.0.6
    Using cached srsly-1.0.5-cp39-cp39-win_amd64.whl (177 kB)
  Collecting tqdm<5.0.0,>=4.10.0
    Using cached tqdm-4.55.2-py2.py3-none-any.whl (68 kB)
  Collecting wasabi<1.1.0,>=0.0.9
    Using cached wasabi-0.8.0-py3-none-any.whl (23 kB)
  Collecting Cython
    Using cached Cython-0.29.21-py2.py3-none-any.whl (974 kB)
  Collecting setuptools
    Using cached setuptools-51.1.2-py3-none-any.whl (784 kB)
  Using legacy 'setup.py install' for preshed,since package 'wheel' is not installed.
  Using legacy 'setup.py install' for thinc,since package 'wheel' is not installed.
  Using legacy 'setup.py install' for blis,since package 'wheel' is not installed.
  Installing collected packages: numpy,cymem,wasabi,tqdm,srsly,preshed,plac,murmurhash,blis,wheel,thinc,setuptools,Cython
      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\itsuw\appdata\local\programs\python\python39\python.exe' -u -c 'import sys,tokenize; sys.argv[0] = '"'"'C:\\Users\\itsuw\\AppData\\Local\\Temp\\pip-install-8ufj6imi\\preshed_3866268e3dd24ad39617498b96541d5e\\setup.py'"'"'; __file__='"'"'C:\\Users\\itsuw\\AppData\\Local\\Temp\\pip-install-8ufj6imi\\preshed_3866268e3dd24ad39617498b96541d5e\\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\itsuw\AppData\Local\Temp\pip-record-ud66pf2p\install-record.txt' --single-version-externally-managed --prefix 'C:\Users\itsuw\AppData\Local\Temp\pip-build-env-10ire469\overlay' --compile --install-headers 'C:\Users\itsuw\AppData\Local\Temp\pip-build-env-10ire469\overlay\Include\preshed'
           cwd: C:\Users\itsuw\AppData\Local\Temp\pip-install-8ufj6imi\preshed_3866268e3dd24ad39617498b96541d5e\
      Complete output (22 lines):
      WARNING: The wheel package is not available.
      running install
      running build
      running build_py
      creating build
      creating build\lib.win-amd64-3.9
      creating build\lib.win-amd64-3.9\preshed
      copying preshed\about.py -> build\lib.win-amd64-3.9\preshed
      copying preshed\__init__.py -> build\lib.win-amd64-3.9\preshed
      creating build\lib.win-amd64-3.9\preshed\tests
      copying preshed\tests\test_counter.py -> build\lib.win-amd64-3.9\preshed\tests
      copying preshed\tests\test_hashing.py -> build\lib.win-amd64-3.9\preshed\tests
      copying preshed\tests\test_pop.py -> build\lib.win-amd64-3.9\preshed\tests
      copying preshed\tests\__init__.py -> build\lib.win-amd64-3.9\preshed\tests
      copying preshed\counter.pyx -> build\lib.win-amd64-3.9\preshed
      copying preshed\maps.pyx -> build\lib.win-amd64-3.9\preshed
      copying preshed\counter.pxd -> build\lib.win-amd64-3.9\preshed
      copying preshed\maps.pxd -> build\lib.win-amd64-3.9\preshed
      copying preshed\__init__.pxd -> build\lib.win-amd64-3.9\preshed
      running build_ext
      building 'preshed.maps' extension
      error: Microsoft Visual C++ 14.0 is required. Get it with "Build Tools for Visual Studio": https://visualstudio.microsoft.com/downloads/
      ----------------------------------------
  ERROR: Command errored out with exit status 1: 'c:\users\itsuw\appdata\local\programs\python\python39\python.exe' -u -c 'import sys,'"'"'exec'"'"'))' install --record 'C:\Users\itsuw\AppData\Local\Temp\pip-record-ud66pf2p\install-record.txt' --single-version-externally-managed --prefix 'C:\Users\itsuw\AppData\Local\Temp\pip-build-env-10ire469\overlay' --compile --install-headers 'C:\Users\itsuw\AppData\Local\Temp\pip-build-env-10ire469\overlay\Include\preshed' Check the logs for full command output.
  ----------------------------------------
ERROR: Command errored out with exit status 1: 'c:\users\itsuw\appdata\local\programs\python\python39\python.exe' 'c:\users\itsuw\appdata\local\programs\python\python39\lib\site-packages\pip' install --ignore-installed --no-user --prefix 'C:\Users\itsuw\AppData\Local\Temp\pip-build-env-10ire469\overlay' --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- setuptools 'wheel>0.32.0,<7.1.0' Check the logs for full command output.

是否有不同的链接来安装 C++ 14.0 及更高版本,或者什么,因为我真的厌倦了这个。

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。

相关推荐


Selenium Web驱动程序和Java。元素在(x,y)点处不可单击。其他元素将获得点击?
Python-如何使用点“。” 访问字典成员?
Java 字符串是不可变的。到底是什么意思?
Java中的“ final”关键字如何工作?(我仍然可以修改对象。)
“loop:”在Java代码中。这是什么,为什么要编译?
java.lang.ClassNotFoundException:sun.jdbc.odbc.JdbcOdbcDriver发生异常。为什么?
这是用Java进行XML解析的最佳库。
Java的PriorityQueue的内置迭代器不会以任何特定顺序遍历数据结构。为什么?
如何在Java中聆听按键时移动图像。
Java“Program to an interface”。这是什么意思?
Java在半透明框架/面板/组件上重新绘画。
Java“ Class.forName()”和“ Class.forName()。newInstance()”之间有什么区别?
在此环境中不提供编译器。也许是在JRE而不是JDK上运行?
Java用相同的方法在一个类中实现两个接口。哪种接口方法被覆盖?
Java 什么是Runtime.getRuntime()。totalMemory()和freeMemory()?
java.library.path中的java.lang.UnsatisfiedLinkError否*****。dll
JavaFX“位置是必需的。” 即使在同一包装中
Java 导入两个具有相同名称的类。怎么处理?
Java 是否应该在HttpServletResponse.getOutputStream()/。getWriter()上调用.close()?
Java RegEx元字符(。)和普通点?