How to make it work on Windows?
まだ誰も着手していません。
評価
調査の方向性
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.
索引モデルが issue の本文から書いたものです。
説明
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?
- 主要言語
- Python
- スター
- 84
- フォーク
- 41
- 平均マージ
- 6日 12時間
- マージ済み PR(30日)
- 1
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
Changaco/python-libarchive-c のほかの issue
-
feature
難易度 2/5 1〜3時間 初心者へのやさしさ 51/100
Changaco/python-libarchive-c#144 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 52/100
Changaco/python-libarchive-c#143 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
Changaco/python-libarchive-c#129 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 20/100
Changaco/python-libarchive-c#122 · コメント 1 件 ·
-
Type checkingオープンfeature
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
Changaco/python-libarchive-c#111 ·
Changaco/python-libarchive-c の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
メンテナーはふだん 2 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
developmentseed/titiler-cmr#278 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 2 日以内に返信