Look at http://www.pyinstaller.org/wiki/HowtoReportBugs
Please examine the system PATH environment variable. Probably wx
installer set it to directory containing 64bit wx dlls.
Hello,
I am running 64 bit windows 7 .
I have both 32 bit python and 64 bit python resident on my system. I
am trying to build a standalone exe file for my python application to
run on 32 bit Windows.The application is a wxpython application that creates a python script to a temp file that is called by subprocess.call from within the wxpython application.
I could get an executable that launched right. I have wxpython,
reportlab , pyyaml and other c-code containing python package dependencies.
However at runtimeI am getting a "ImportError: DLL load failed: %1 is
not a valid Win32 application."
I ended up switching to execfile because of this realization.
I think the ""ImportError: DLL load failed: %1 " error was being
thrown when the native system python was being called by
subprocess.call["python" , "termp_scr.py"]
But after switching to execfile , I can run the temp script with the
modules "pre-loaded" into the wxpython calling program.
Hari