Traceback (most recent call last):
File "PyInstaller\loader\pyimod04_ctypes.py", line 53, in init
File "ctypes_init_.py", line 356, in init
OSError: [WinError 126] 找不到指定的模块。
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "pyzbar\zbar_library.py", line 58, in load
File "pyzbar\zbar_library.py", line 54, in load_objects
File "ctypes_init_.py", line 434, in LoadLibrary
File "PyInstaller\loader\pyimod04_ctypes.py", line 55, in init
pyimod04_ctypes.install..PyInstallerImportError: Failed to load dynlib/dll 'libzbar-64.dll'. Most likely this dynlib/dll was not found when the application was frozen.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "PyInstaller\loader\pyimod04_ctypes.py", line 53, in init
File "ctypes_init_.py", line 356, in init
OSError: [WinError 126] 找不到指定的模块。
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "ImageStrike.py", line 12, in
File "", line 983, in _find_and_load
File "", line 967, in _find_and_load_unlocked
File "", line 677, in _load_unlocked
File "PyInstaller\loader\pyimod03_importers.py", line 476, in exec_module
File "pyzbar\pyzbar.py", line 7, in
File "", line 983, in _find_and_load
File "", line 967, in _find_and_load_unlocked
File "", line 677, in load_unlocked
File "PyInstaller\loader\pyimod03_importers.py", line 476, in exec_module
File "pyzbar\wrapper.py", line 143, in
File "pyzbar\wrapper.py", line 136, in zbar_function
File "pyzbar\wrapper.py", line 115, in load_libzbar
File "pyzbar\zbar_library.py", line 60, in load
File "pyzbar\zbar_library.py", line 52, in load_objects
File "pyzbar\zbar_library.py", line 52, in
File "ctypes_init.py", line 434, in LoadLibrary
File "PyInstaller\loader\pyimod04_ctypes.py", line 55, in init
pyimod04_ctypes.install..PyInstallerImportError: Failed to load dynlib/dll 'C:\Users\ztt\AppData\Local\Temp\_MEI209802\pyzbar\libiconv.dll'. Most likely this dynlib/dll was not found when the application was frozen.
不知道是什么原因