Following readme results in errors
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức phù hợp với người mới
- 45/100
- Loại issue
- Tài liệu
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- cmake, python
- Lĩnh vực
- build-system, documentation
Hướng nghiên cứu
Đọc README và kiểm tra CMakeLists.txt quanh dòng 17, sau đó tái hiện lệnh pip install -e . được ghi trong tài liệu. Ghi lại OS được hỗ trợ, môi trường Python, trình biên dịch và các dependency build bắt buộc để có thể cài đặt thành công ví dụ bằng cách làm theo README.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
`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.
- Ngôn ngữ chính
- Python
- Star
- 147
- Fork
- 39
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của pybind/scikit_build_example
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 65/100
pybind/scikit_build_example#209 ·
-
Module Builds Without AttributesĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 42/100
pybind/scikit_build_example#200 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 45/100
pybind/scikit_build_example#189 · 3 bình luận ·
-
pip install fail to linkĐang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 25/100
pybind/scikit_build_example#162 ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 50/100
pybind/scikit_build_example#161 · 1 reaction ·
Tất cả issue của pybind/scikit_build_example
Issue tương tự
-
app: scripts Bucket: KTLO status: backlog type: housekeeping
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
netbox-community/netbox-scripts#217 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 64/100
-
ApacheTomcatImporterPipeline truncates milestone fixed versions (e.g. 11.0.0-M6 -> 11.0.0)Có thể đã có người làm @nikolya-ctrl đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
aboutcode-org/vulnerablecode#2533 ·
Maintainer thường phản hồi trong vòng 5 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
PermafrostDiscoveryGateway/water-timeseries-v2#312 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
ClickHouse/dbt-clickhouse#829 ·
Maintainer thường phản hồi trong vòng 1 ngày