-
Notifications
You must be signed in to change notification settings - Fork 181
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WinError 126 after building during execution *.exe #33
Comments
looks like this: #13 |
It is likely that the DLLs (32-bit:
|
ok, i copy libzbar-64.dll and libiconv.dll to the build and new error but not from pyzbar :( I know it's not a problem with pyzbar anymore but maybe it helps others Traceback (most recent call last): During handling of the above exception, another exception occurred: Traceback (most recent call last): Original error was: (DLL load failed: Das angegebene Modul wurde nicht gefunden.) 'E:\git_aktuell\RecIT\dist\numpy.core.multiarray.pyd' |
ok i have a workaround, not nice but works py2exe does not work and so I use pyinstaller libiconv.dll, libzbar-64.dll and opencv_ffmpeg341_64.dll(for cv2) must be in the exe folder please close |
pyzbar 0.1.7
Python 3.4.4
py2exe 0.9.2.2
Traceback (most recent call last):
File "c:\python34\lib\site-packages\pyzbar\zbar_library.py", line 58, in load
dependencies, libzbar = load_objects(Path(''))
File "c:\python34\lib\site-packages\pyzbar\zbar_library.py", line 52, in load_objects
for dep in dependencies
File "c:\python34\lib\site-packages\pyzbar\zbar_library.py", line 52, in
for dep in dependencies
File "c:\python34\lib\ctypes_init_.py", line 429, in LoadLibrary
return self.dlltype(name)
File "c:\python34\lib\ctypes_init.py", line 351, in init
self._handle = _dlopen(self._name, mode)
OSError: [WinError 126] Das angegebene Modul wurde nicht gefunden
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "RecIT.pyw", line 5, in
File "", line 2237, in _find_and_load
File "", line 2226, in _find_and_load_unlocked
File "", line 1191, in _load_unlocked
File "", line 1161, in _load_backward_compatible
File "c:\python34\lib\site-packages\pyzbar\pyzbar.py", line 7, in
from .wrapper import (
File "", line 2237, in _find_and_load
File "", line 2226, in _find_and_load_unlocked
File "", line 1191, in _load_unlocked
File "", line 1161, in load_backward_compatible
File "c:\python34\lib\site-packages\pyzbar\wrapper.py", line 148, in
c_uint_p, # minor
File "c:\python34\lib\site-packages\pyzbar\wrapper.py", line 141, in zbar_function
return prototype((fname, load_libzbar()))
File "c:\python34\lib\site-packages\pyzbar\wrapper.py", line 120, in load_libzbar
libzbar, dependencies = zbar_library.load()
File "c:\python34\lib\site-packages\pyzbar\zbar_library.py", line 60, in load
dependencies, libzbar = load_objects(Path(file).parent)
File "c:\python34\lib\site-packages\pyzbar\zbar_library.py", line 52, in load_objects
for dep in dependencies
File "c:\python34\lib\site-packages\pyzbar\zbar_library.py", line 52, in
for dep in dependencies
File "c:\python34\lib\ctypes_init.py", line 429, in LoadLibrary
return self.dlltype(name)
File "c:\python34\lib\ctypes_init.py", line 351, in init
self._handle = _dlopen(self._name, mode)
OSError: [WinError 126] Das angegebene Modul wurde nicht gefunden
The text was updated successfully, but these errors were encountered: