Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot import libarchive into Python 3.7.3 on Windows 10 version 1809. Support on Windows? #36

Open
DavidJLambert opened this issue May 30, 2019 · 1 comment

Comments

@DavidJLambert
Copy link

Not supported on Windows? At least state whether or not it is. This is what happens when I try to run "pip install libarchive" on Windows 10 with Python 3.7.3 from cmd prompt and git bash prompt:

(Two-Windows-Event-Log-Summarizers) C:\Coding\Python\PyVirtualEnvs\Two-Windows-Event-Log-Summarizers\Scripts>pip install libarchive
Collecting libarchive
Using cached https://files.pythonhosted.org/packages/b8/89/2952eefad82d9361f539de16ea85a2d98a7fb68eae2ba9ab0869aa2cee0f/libarchive-0.4.6.tar.gz
Requirement already satisfied: nose in c:\coding\python\pyvirtualenvs\two-windows-event-log-summarizers\lib\site-packages (from libarchive) (1.3.7)
Installing collected packages: libarchive
Running setup.py install for libarchive ... error
ERROR: Complete output from command 'C:\Coding\Python\PyVirtualEnvs\Two-Windows-Event-Log-Summarizers\Scripts\python.exe' -u -c 'import setuptools, tokenize;file='"'"'C:\Users\david\AppData\Local\Temp\pip-install-4zafasl3\libarchive\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record 'C:\Users\david\AppData\Local\Temp\pip-record-9_ciycqb\install-record.txt' --single-version-externally-managed --compile --install-headers 'C:\Coding\Python\PyVirtualEnvs\Two-Windows-Event-Log-Summarizers\include\site\python3.7\libarchive':
ERROR: running install
error: [WinError 126] The specified module could not be found
Verifying that the library is accessible.
Library can not be loaded: [WinError 126] The specified module could not be found
----------------------------------------

@bicobus
Copy link

bicobus commented Jun 2, 2019

Please read #27

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants