mrchayful píše v St 17. 04. 2013 v 15:51 -0700:
> Hi Lynn,
> 
> 
> I was wondering if you ever managed to solve this problem as I have
> encountered the same thing and also managed to get it working in the
> one directory mode but haven't had any luck in the one file mode. Any
> help would be great, thanks,

I suppose the workaround for onedir is to just copy those missing dlls
to the dist directory next to the exe file.

The workaround for onefile could be append the path
  'c:\Python2.7\Scripts'
to variable PATH.

Pyinstaller could be then able to find c:\Python27\Scripts\mk2_core.dll
or other dlls. Pyinstaller examines paths in the variable PATH when
looking for .dlls.

> 
> On Tuesday, September 25, 2012 11:42:39 PM UTC+1, 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'])



-- 
You received this message because you are subscribed to the Google Groups 
"PyInstaller" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/pyinstaller?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to