解决方法:错误:Fastobo的失败的建筑轮

发布于 2025-02-02 03:08:17 字数 1853 浏览 3 评论 0原文

我正在尝试使用以下命令安装此库Nxontology:

pip install nxontology

它给我带来了以下错误:

 Building wheel for fastobo (pyproject.toml) ... error
  error: subprocess-exited-with-error

 Building wheel for fastobo (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [18 lines of output]
      running bdist_wheel
      running build
      running build_py
      package init file 'src\py\__init__.py' not found (or not a regular file)
      package init file 'src\py\header\__init__.py' not found (or not a regular file)
      package init file 'src\py\instance\__init__.py' not found (or not a regular file)
      package init file 'src\py\term\__init__.py' not found (or not a regular file)
      package init file 'src\py\typedef\__init__.py' not found (or not a regular file)
      running build_ext
      running build_rust
      creating build
      creating build\temp.win-amd64-cpython-310
      creating build\temp.win-amd64-cpython-310\Release
      creating build\temp.win-amd64-cpython-310\Release\cargo
      creating build\temp.win-amd64-cpython-310\Release\rustup
      downloading rustup.sh install script
      installing Rust compiler to build\temp.win-amd64-cpython-310\Release
      error: [WinError 2] The system cannot find the file specified
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for fastobo
Failed to build fastobo
ERROR: Could not build wheels for fastobo, which is required to install pyproject.toml-based projects

我看到了类似错误的一些答案,但它们都不适合我。

PIP版本:PIP 22.1.1来自C:\ USER \ USER \ USER \ AppData \ Local \ Programs \ Python \ Python \ Python310 \ lib \ lib \ site-packages \ pip \ pip(python 3.10)

项目Python解释器:Python解释器:Python 3.9。

如果您知道如何解决此问题,我将非常感谢。

I am trying to install this library nxontology using the command below:

pip install nxontology

It is giving me the error below:

 Building wheel for fastobo (pyproject.toml) ... error
  error: subprocess-exited-with-error

 Building wheel for fastobo (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [18 lines of output]
      running bdist_wheel
      running build
      running build_py
      package init file 'src\py\__init__.py' not found (or not a regular file)
      package init file 'src\py\header\__init__.py' not found (or not a regular file)
      package init file 'src\py\instance\__init__.py' not found (or not a regular file)
      package init file 'src\py\term\__init__.py' not found (or not a regular file)
      package init file 'src\py\typedef\__init__.py' not found (or not a regular file)
      running build_ext
      running build_rust
      creating build
      creating build\temp.win-amd64-cpython-310
      creating build\temp.win-amd64-cpython-310\Release
      creating build\temp.win-amd64-cpython-310\Release\cargo
      creating build\temp.win-amd64-cpython-310\Release\rustup
      downloading rustup.sh install script
      installing Rust compiler to build\temp.win-amd64-cpython-310\Release
      error: [WinError 2] The system cannot find the file specified
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for fastobo
Failed to build fastobo
ERROR: Could not build wheels for fastobo, which is required to install pyproject.toml-based projects

I saw some answers to similar errors but none of them worked for me.

pip version: pip 22.1.1 from C:\Users\User\AppData\Local\Programs\Python\Python310\lib\site-packages\pip (python 3.10)

Project python interpreter: Python 3.9.

I would really appreciate if you have any idea how to fix this.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文