Polyconseil / zbarlight

A simple wrapper for zbar
BSD 3-Clause "New" or "Revised" License
163 stars 37 forks source link

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

Open ronytesler opened 1 year ago

ronytesler commented 1 year ago

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.