pip install ethtool-0.15 failed

未關閉
#61 1 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

評估

難度
4/5
預估耗時
3-5 天
新手友好度
25/100
Issue 類型
缺陷
描述清晰度
需要釐清
活躍度
停滯
技術堆疊
c, python

研究方向

首先重現 ethtool-0.15 的 pip 建置,並檢查 C extension 周圍的 pyproject.toml 建置設定。將失敗的 libnl-3.0 pkg-config 查詢與回報的輸出進行比較,然後驗證該 package 是否能使用必要的設定成功建置 wheel。

由索引模型根據 Issue 內容生成。

描述

Processing ./ethtool-0.15.tar.gz
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Building wheels for collected packages: ethtool
Building wheel for ethtool (pyproject.toml) ... error
error: subprocess-exited-with-error

× Building wheel for ethtool (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [5 lines of output]
running bdist_wheel
running build
running build_ext
building 'ethtool' extension
Failed to query pkg-config --cflags-only-I libnl-3.0
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for ethtool
Failed to build ethtool
ERROR: Could not build wheels for ethtool, which is required to install pyproject.toml-based projects
[root@0d3f20bef923 home]# pkg-config --cflags-only-I libnl-3.0
-I/usr/include/libnl3

主要語言
C
星號
16
分支
11
PR 合併指標
30 天內沒有已合併 PR

貢獻指南

這個儲存庫沒有索引到貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

fedora-python/python-ethtool 的其他 Issue

查看 fedora-python/python-ethtool 的全部 Issue

相似的 Issue

更多 C Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。