freezing a python script

Gordon McMillan gmcm at hypernet.com
Thu Aug 23 07:57:04 EDT 2001


"Antoine JOSSERAND" <antoine at 2le.net> wrote: 

 
> I have a problem to make an executable file from a python script. I
> tried with py2exe and McMillan's installer and I had the same problem
> with both. The .exe file which I obtain works fine on my computer but
> not an another machine. It says "DLL load failed" despite the DLL's are
> in the c:\windows\system directory and in my program's directory. 

That's not much information to go on. Most likely, there are version
incompatibilities at work. I've seen this, for example, when building
on a Win2K box and deploying on NT or Win9x. If you find any MS dlls
in the program's directory, removing them may well fix the problem.

- Gordon



More information about the Python-list mailing list