How to make it work on Windows?
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 20/100
Hướng nghiên cứu
Start by reading the Windows loading path in ffi.py and the issue’s discussion about locating libarchive and its dependent DLLs. Reproduce the reported import failure on Windows with Python 3.4, then determine what dependency or search path prevents the library from loading; done means the package imports successfully in the reported setup and the required Windows library setup is clear.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Hi,
I want to use this in my code but getting problems to make it work on windows with python 3.4
I've installed it with pip without a problem but whenever I use import libarchive it fails with:
OSError: [WinError 126] The specified module could not be found
This is coming from ffi.py from the code below:
libarchive_path = os.environ.get('LIBARCHIVE') or find_library('archive')
libarchive = ctypes.cdll.LoadLibrary(libarchive_path)
I've never used ctypes before but if I understand correctly it is looking for external DLL. I found and installed http://gnuwin32.sourceforge.net/packages/libarchive.htm also I've added C:\Program Files (x86)\GnuWin32\bin to my %PATH% in environmental variables but it still cannot load the module. As it does not give me the name of the module, I'm not sure what module it is looking for. What am I missing?
- Ngôn ngữ chính
- Python
- Star
- 84
- Fork
- 41
- Merge trung bình
- 6 ngày 12 giờ
- Pull request đã merge (30 ngày)
- 1
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 Changaco/python-libarchive-c
-
feature
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 51/100
Changaco/python-libarchive-c#144 ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 52/100
Changaco/python-libarchive-c#143 ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 25/100
Changaco/python-libarchive-c#129 ·
-
Suggestion: Test fileĐang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 20/100
Changaco/python-libarchive-c#122 · 1 bình luận ·
-
Type checkingĐang mởfeature
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
Changaco/python-libarchive-c#111 ·
Tất cả issue của Changaco/python-libarchive-c
Issue tương tự
-
_chunk_scan_fwd launches its Triton kernel without a device guard: NaN when a model is split across GPUsCó thể đã có người làm @toddwbucy đã nhận hôm nay. Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 85/100
state-spaces/mamba#1072 ·
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 85/100
loopj/aiovantage#414 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
power_mismatch_deline docstring: the rear-to-total RMAD conversion has an extra bifaciality factorĐang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 85/100
pvlib/pvlib-python#2929 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
data good first issue launch-day unverified
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
BradGroux/wow-forever-mission-control#8 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
check bilibili falsely reports read/subtitle as broken: live_test fixture BV1GJ411x7h7 is gone (404)Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Panniantong/Agent-Reach#889 ·
Maintainer thường phản hồi trong vòng 2 ngày