Skip to content

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

@DavidJLambert

Description

@DavidJLambert

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
----------------------------------------

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions