Skip to content

ImportError: DLL load failed while importing _zbarlight: The specified module could not be found. #37

@ronytesler

Description

@ronytesler

I crated a whl file using the steps here: https://ruvi-d.medium.com/getting-zbarlight-to-work-on-windows-a3dc643dba18

Then installed zbarlight - pip install zbarlight-3.1.dev0-cp38-cp38-win_amd64.whl
When I add the line import zbarlight I get an error -

Traceback (most recent call last):
 File "<frozen importlib._bootstrap>", line 991, in _find_and_load
 File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
 File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
 File "<frozen importlib._bootstrap_external>", line 783, in exec_module
 File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
 File "C:\pythonProject\qrcode\venv\lib\site-packages\zbarlight\__init__.py", line 6, in <module>
   from ._zbarlight import Symbologies
ImportError: DLL load failed while importing _zbarlight: The specified module could not be found.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions