I'm running py2exe 0.6.9 with Python 2.6.1 on Windows Vista (SP1). I can
successfully build an .exe file, however when running the .exe, I get the
following error window:
*Microsoft Visual C++ Runtime Library
An application has made an attempt to load the C runtime library
Please contact the application's support team for more information.
This is followed by a second error window:
*The application failed to initialize properly (0xc0000142). Click OK to
terminate the application.
I have searched online all over the place for a solution to this problem.
Some of the suggested solutions I've encountered include installing the
Microsoft Visual C++ redistributable (which I've done - didn't solve the
problem). Also, manually copying the dll files into the same folder as the
.exe - also didn't help.
I've run this on another machine that's running Windows XP and the same
I can use this same py2exe version successfully with Python 2.5. I would
like to upgrade my applications to work with 2.6.1. Does anyone know the
exact steps I need to follow to fix this? Like I said, I've found bits and
pieces all over the web, but nothing has worked for me. Any help would be
much appreciated. Thanks.
From: Mark Hammond <skippy.hammond@gm...> - 2009-02-22 10:12:22
On 22/02/2009 8:05 PM, David Escobar wrote:
> I'm running py2exe 0.6.9 with Python 2.6.1 on Windows Vista (SP1). I can
I'm afraid the simplest and best advice for now is that until 2.6.2 is
released you should use Python 2.5.x with py2exe...