Lynn,
On 26 September 2012 00:42, Lynn Oliver wrote:
> Run a debug version of my program:
>
> *** mk2_mc3.dll *** failed with error 126: The specified module could
> not be found.
> *** mk2_def.dll *** failed with error 126: The specified module could
> not be found.
> MKL FATAL ERROR: Cannot load neither mk2_mc3.dll nor mk2_def.dll
>
> Profiling the program:
>
> LoadLibraryA("mk2_mc3.dll") called from "MK2_CORE.DLL" at address
> 0x000000000440251D. LoadLibraryA("mk2_mc3.dll") returned NULL. Error: The
> specified module could not be found (126).
> LoadLibraryA("mk2_def.dll") called from "MK2_CORE.DLL" at address
> 0x00000000044026F6. LoadLibraryA("mk2_def.dll") returned NULL. Error: The
> specified module could not be found (126).
> LoadLibraryA("1033/mkl_msg.dll") called from "MK2_CORE.DLL" at address
> 0x00000000044067C7. LoadLibraryA("1033/mkl_msg.dll") returned NULL.
> Error: The specified module could not be found (126). Exited
> "AOMDSP.EXE" (process 0x294) with code 1 (0x1).
>
> Running BinDepend:
>
> utils/BinDepend.py c:\Python27\Scripts\mk2_core.dll
> c:\Python27\Scripts\mk2_core.dll set(['KERNEL32.dll', 'msvcrt.dll'])
>
> How do I fix this?
I had the same issues with one of my applications, and I ended up
forcing PyInstaller (and py2exe as well) to include those libraries
like this:
coll = COLLECT(exe,
a.binaries - [('UxTheme.dll',
r'C:\Windows\System32\uxtheme.dll', 'BINARY'), ('uxtheme.dll',
r'C:\Windows\System32\uxtheme.dll', 'BINARY'), \
('tcl85.dll' ,
r'C:\Python27\DLLs\tcl85.dll' , 'BINARY'), ('tk85.dll' ,
r'C:\Python27\DLLs\tk85.dll' , 'BINARY')] \
+ [('mk2_def.dll',
r'C:\Python27\Scripts\mk2_def.dll', 'BINARY'), ('mk2_mc3.dll',
r'C:\Python27\Scripts\mk2_mc3.dll', 'BINARY')],
a.zipfiles,
a.datas,
strip=False,
upx=True,
name=os.path.join('dist', 'MyApp'))
You may need to extend that list to include more mk2_* DLL files,
although I found PyInstaller a bit cumbersome in the process...
Andrea.
"Imagination Is The Only Weapon In The War Against Reality."
http://xoomer.alice.it/infinity77/
# ------------------------------------------------------------- #
def ask_mailing_list_support(email):
if mention_platform_and_version() and include_sample_app():
send_message(email)
else:
install_malware()
erase_hard_drives()
# ------------------------------------------------------------- #
--
You received this message because you are subscribed to the Google Groups
"PyInstaller" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/pyinstaller?hl=en.