crfsuite include path
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- Nửa ngày
- Mức phù hợp với người mới
- 30/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- python
- Lĩnh vực
- build-system
Hướng nghiên cứu
The report identifies the generated file pycrfsuite/_pycrfsuite.cpp and the failing include paths, but it does not name the Cython source or build configuration that controls them. Start by locating the source declarations and build include settings that generate this file; determine how to resolve the CRFsuite headers without hardcoding /usr/include/. Done means a clean build finds both headers, with the generated C++ file still reproducible.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
The Cython-generated pycrfsuite/_pycrfsuite.cpp file includes
#include "../crfsuite/include/crfsuite.h"
#include "../crfsuite/include/crfsuite_api.hpp"
which leads to compilation failure:
pycrfsuite/_pycrfsuite.cpp:586:10: fatal error: ../crfsuite/include/crfsuite.h: No such file or directory
How can I change this to (or without /usr/include/)
#include "/usr/include/crfsuite.h"
#include "/usr/include/crfsuite_api.hpp"
``` ?
The file is not patchable because Cython always regenerates it.
Thanks in advance.
- Ngôn ngữ chính
- Python
- Star
- 774
- Fork
- 223
- 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 scrapinghub/python-crfsuite
-
no wheels for python 3.14Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 63/100
scrapinghub/python-crfsuite#167 · 2 bình luận · 2 reaction ·
-
CRFsuite training too slowĐang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 25/100
scrapinghub/python-crfsuite#142 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 25/100
scrapinghub/python-crfsuite#129 · 1 bình luận · 2 reaction ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
scrapinghub/python-crfsuite#119 · 1 bình luận · 1 reaction ·
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
scrapinghub/python-crfsuite#114 ·
Tất cả issue của scrapinghub/python-crfsuite
Issue tương tự
-
[19.0] pos_sale: settling an order with a 0 down payment line crashes (reading 'reward_id') and leaves a wrong amount dueCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 79/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 79/100
developmentseed/titiler-covjson#164 ·
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 82/100
awslabs/visual-asset-management-system#2164 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
needs-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 86/100
MakazhanAlpamys/Soup#3589 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
channels status reports the wrong Enabled value for Feishu instances and default-enabled WebSocketĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 86/100
Maintainer thường phản hồi trong vòng 1 ngày