Following readme results in errors
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 2/5
- Geschätzter Aufwand
- 1-3 Stunden
- Anfängerfreundlichkeit
- 45/100
- Issue-Typ
- Dokumentation
- Klarheit
- Größtenteils klar
- Aktivitätsstatus
- Veraltet
- Tech-Stack
- cmake, python
- Bereich
- build-system, documentation
Rechercherichtung
Lies die README und untersuche CMakeLists.txt um Zeile 17 herum. Führe anschließend den dokumentierten Befehl pip install -e . erneut aus. Dokumentiere das unterstützte OS, die Python-Umgebung, den Compiler und die erforderlichen Build-Abhängigkeiten, damit das Beispiel durch Befolgen der README erfolgreich installiert werden kann.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
`programs/github/scikit_build_example$ pip install -e .
Obtaining file:///home/kovalp/programs/github/scikit_build_example
Installing build dependencies ... done
Checking if build backend supports build_editable ... done
Getting requirements to build editable ... done
Preparing editable metadata (pyproject.toml) ... done
Building wheels for collected packages: scikit_build_example
Building editable for scikit_build_example (pyproject.toml) ... error
error: subprocess-exited-with-error
× Building editable for scikit_build_example (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [22 lines of output]
*** scikit-build-core 0.11.6 using CMake 3.22.1 (editable)
*** Configuring CMake...
loading initial cache file build/CMakeInit.txt
-- The CXX compiler identification is GNU 11.4.0
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found PythonInterp: /home/kovalp/.pyenv/versions/3.13.7/bin/python3.13 (found suitable version "3.13.7", minimum required is "3.8")
-- Found PythonLibs: /home/kovalp/.pyenv/versions/3.13.7/lib/libpython3.13.so
-- Performing Test HAS_FLTO_AUTO
-- Performing Test HAS_FLTO_AUTO - Success
-- Found pybind11: /home/kovalp/.pyenv/versions/3.13.7/lib/python3.13/site-packages/pybind11/include (found version "3.0.1")
CMake Error at CMakeLists.txt:17 (python_add_library):
Unknown CMake command "python_add_library".
-- Configuring incomplete, errors occurred!
See also "/home/kovalp/programs/github/scikit_build_example/build/CMakeFiles/CMakeOutput.log".
*** CMake configuration failed
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building editable for scikit_build_example
Failed to build scikit_build_example
error: failed-wheel-build-for-install
× Failed to build installable wheels for some pyproject.toml based projects
╰─> scikit_build_example`
Could you make it more explicit? Maybe adding requirements on OS, way of getting a Python environment, needed compiler would help.
- Vorherrschende Sprache
- Python
- Sterne
- 147
- Forks
- 39
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Entwicklungsumgebung
Dieses Projekt bietet weder Dev-Container noch Dockerfile noch Beitragsleitfaden – die Einrichtung liegt bei Ihnen. Beginnen Sie mit der README; die allgemeinen Schritte stehen in unserem Leitfaden für den ersten Beitrag.
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus pybind/scikit_build_example
-
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 65/100
pybind/scikit_build_example#209 ·
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 42/100
pybind/scikit_build_example#200 ·
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 45/100
pybind/scikit_build_example#189 · 3 Kommentare ·
-
pip install fail to linkOffen
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 25/100
pybind/scikit_build_example#162 ·
-
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 50/100
pybind/scikit_build_example#161 · 1 Reaktion ·
Alle Issues in pybind/scikit_build_example
Ähnliche Issues
-
app: scripts Bucket: KTLO status: backlog type: housekeeping
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
netbox-community/netbox-scripts#217 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 64/100
-
ApacheTomcatImporterPipeline truncates milestone fixed versions (e.g. 11.0.0-M6 -> 11.0.0)Evtl. vergeben @nikolya-ctrl hat das heute übernommen. Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 85/100
aboutcode-org/vulnerablecode#2533 ·
Maintainer antworten meist innerhalb von 5 Tagen
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 62/100
PermafrostDiscoveryGateway/water-timeseries-v2#312 ·
Maintainer antworten meist innerhalb von 1 Tag
-
bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
ClickHouse/dbt-clickhouse#829 ·
Maintainer antworten meist innerhalb von 1 Tag