简体   繁体   English

无法安装撕裂器错误:命令错误退出,退出状态为 1

[英]cant install ripser ERROR: command errorred out with exit status 1

trying to install ripser on python 3.9.1 windiws version all dependencies have been pre install including build tools in microsoft visual.试图在 python 3.9.1 windows 版本上安装 ripser 所有依赖项都已预先安装,包括 microsoft visual 中的构建工具。 but when i run it i keep getting the following error.但是当我运行它时,我不断收到以下错误。

ERROR: Command errored out with exit status 1:
   command: 'c:\users\paula\appdata\local\programs\python\python39\python.exe' 'c:\users\paula\appdata\local\programs\python\python39\lib\site-packages\pip\_vendor\pep517\_in_process.py' build_wheel 'C:\Users\paula\AppData\Local\Temp\tmp45xjgsf6'
       cwd: C:\Users\paula\AppData\Local\Temp\pip-install-k98qcrft\ripser_d73af33c4d364b9f9b927544c1bfdf2d
  Complete output (21 lines):
  running bdist_wheel
  running build
  running build_py
  creating build
  creating build\lib.win-amd64-3.9
  creating build\lib.win-amd64-3.9\ripser
  copying ripser\ripser.py -> build\lib.win-amd64-3.9\ripser
  copying ripser\_version.py -> build\lib.win-amd64-3.9\ripser
  copying ripser\__init__.py -> build\lib.win-amd64-3.9\ripser
  running build_ext
  building 'pyRipser' extension
  creating build\temp.win-amd64-3.9
  creating build\temp.win-amd64-3.9\Release
  creating build\temp.win-amd64-3.9\Release\ripser
  C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.28.29333\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -DUSE_COEFFICIENTS=1 -DNDEBUG=1 -DASSEMBLE_REDUCTION_MATRIX=1 -I.\ripser -Ic:\users\paula\appdata\local\programs\python\python39\include -Ic:\users\paula\appdata\local\programs\python\python39\include -IC:\Users\paula\AppData\Local\Temp\pip-build-env-8p1qzbil\overlay\Lib\site-packages\numpy\core\include -IC:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.28.29333\include /EHsc /Tpripser/pyRipser.cpp /Fobuild\temp.win-amd64-3.9\Release\ripser/pyRipser.obj -Ofast -D_hypot=hypot /std:c++14
  cl : Command line warning D9025 : overriding '/Os' with '/Ot'
  cl : Command line warning D9002 : ignoring unknown option '-Of'
  cl : Command line warning D9002 : ignoring unknown option '-Oa'
  pyRipser.cpp
  c:\users\paula\appdata\local\programs\python\python39\include\pyconfig.h(59): fatal error C1083: Cannot open include file: 'io.h': No such file or directory
  error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\BuildTools\\VC\\Tools\\MSVC\\14.28.29333\\bin\\HostX86\\x64\\cl.exe' failed with exit code 2
  ----------------------------------------
  ERROR: Failed building wheel for ripser
Failed to build ripser
ERROR: Could not build wheels for ripser which use PEP 517 and cannot be installed directly.

I've already tried pip install -- pre -U ripser which worked for sklearn but it wasn't working for this any advice would be appreciated.我已经尝试过 pip install -- pre-U ripser,它适用于 sklearn 但它不适用于此任何建议将不胜感激。

I have since installed ripser by deleting python and reinstalling as version 3.8.7.此后,我通过删除 python 并重新安装为 3.8.7 版来安装 ripser。 A lot of packages are not supported on python 3.9.1 and so installing things can be more difficult. python 3.9.1 不支持很多软件包,因此安装可能会更加困难。 On the older version of python i was able to reinstall all my packages with no issues.在旧版本的 python 上,我能够毫无问题地重新安装我的所有软件包。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Python - Mysqldb 安装错误 [错误:命令错误退出状态 1:] - Python - Mysqldb install Error [ ERROR: Command errored out with exit status 1:] Pip 安装错误与 pycontractions '错误:命令错误退出状态 1:' - Pip install error with pycontractions 'ERROR: Command errored out with exit status 1:' pip 安装 jupyterlab 错误:命令出错,退出状态为 1: - pip install jupyterlab ERROR: Command errored out with exit status 1: Pip 安装 magpie 错误:Command Errored out with exit status 1 - Pip Install magpie error: Command Errored out with exit status 1 Windows 10:Pip 安装错误:命令出错,退出状态为 1 - Windows 10: Pip install error: Command errored out with exit status 1 pip 安装 matplotlib 时出现退出状态 1 的安装命令错误 - pip install command error out with exit status 1 when installing matplotlib Jupyter 安装错误:命令错误退出状态为 1 - Jupyter install ERROR: Command errored out with exit status 1 Python 3.7.7 安装 Numpy “错误:命令出错,退出状态为 1:” - Python 3.7.7 install Numpy "ERROR: Command errored out with exit status 1:" 错误:命令出错,退出状态为 1 | python安装包 - ERROR: Command errored out with exit status 1 | python install packages pip install darknetpy 不起作用,“错误:命令出错,退出状态为 1” - pip install darknetpy not working, “ERROR: Command errored out with exit status 1”
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM