вот мой код:
from pyzbar import pyzbar
Я получаю следующую ошибку:
Traceback (most recent call last):
File "D:/Users/Administrator/Desktop/qrx-tool/test.py", line 1, in <module>
from pyzbar import pyzbar
File "D:\Python27\lib\site-packages\pyzbar\pyzbar.py", line 7, in <module>
from .wrapper import (
File "D:\Python27\lib\site-packages\pyzbar\wrapper.py", line 143, in <module>
c_uint_p, # minor
File "D:\Python27\lib\site-packages\pyzbar\wrapper.py", line 136, in zbar_function
return prototype((fname, load_libzbar()))
File "D:\Python27\lib\site-packages\pyzbar\wrapper.py", line 115, in load_libzbar
libzbar, dependencies = zbar_library.load()
File "D:\Python27\lib\site-packages\pyzbar\zbar_library.py", line 60, in load
dependencies, libzbar = load_objects(Path(__file__).parent)
File "D:\Python27\lib\site-packages\pyzbar\zbar_library.py", line 54, in load_objects
libzbar = cdll.LoadLibrary(str(directory.joinpath(fname)))
File "D:\Python27\lib\ctypes\__init__.py", line 443, in LoadLibrary
return self._dlltype(name)
File "D:\Python27\lib\ctypes\__init__.py", line 365, in __init__
self._handle = _dlopen(self._name, mode)
WindowsError: [Error 193] %1 不是有效的 Win32