1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
| Traceback (most recent call last):
File "C:\Users\33783\Desktop\test.py", line 4, in <module>
from pyzbar.pyzbar import decode
File "C:\Users\33783\AppData\Roaming\Python\Python311\site-packages\pyzbar\pyzbar.py", line 7, in <module>
from .wrapper import (
File "C:\Users\33783\AppData\Roaming\Python\Python311\site-packages\pyzbar\wrapper.py", line 151, in <module>
zbar_version = zbar_function(
File "C:\Users\33783\AppData\Roaming\Python\Python311\site-packages\pyzbar\wrapper.py", line 148, in zbar_function
return prototype((fname, load_libzbar()))
File "C:\Users\33783\AppData\Roaming\Python\Python311\site-packages\pyzbar\wrapper.py", line 127, in load_libzbar
libzbar, dependencies = zbar_library.load()
File "C:\Users\33783\AppData\Roaming\Python\Python311\site-packages\pyzbar\zbar_library.py", line 60, in load
dependencies, libzbar = load_objects(Path(__file__).parent)
File "C:\Users\33783\AppData\Roaming\Python\Python311\site-packages\pyzbar\zbar_library.py", line 54, in load_objects
libzbar = cdll.LoadLibrary(str(directory.joinpath(fname)))
File "c:\program files\python311\Lib\ctypes\__init__.py", line 454, in LoadLibrary
return self._dlltype(name)
File "c:\program files\python311\Lib\ctypes\__init__.py", line 376, in __init__
self._handle = _dlopen(self._name, mode)
FileNotFoundError: Could not find module 'C:\Users\33783\AppData\Roaming\Python\Python311\site-packages\pyzbar\libzbar-64.dll' (or one of its dependencies). Try using the full path with constructor syntax. |