On 2019-09-04, Sebastian Krause <sebast...@realpath.org> wrote:

>> ImportError: DLL load failed: %1 is not a valid Win32 application.
>
> I've seen such an error when a 32-bit Python application tried to
> load a 64-bit DLL (or vice versa). I would run the Process Monitor
> (https://docs.microsoft.com/en-us/sysinternals/downloads/procmon) on
> the failing system to check which DLLs the Python application is
> actually loading and then check if it might be 32/64 bit conflict.

Yep, it was caused by some left-over files in the same installation
directory tree that were left over from an old 32-bit version.  I use
Inno Setup to build a 'setup.exe' that's supposed to handle the
install, uninstall, upgrade process and apparently I don't have that
configured quite right.  Sometime soon I'm going to try building an
MSI with cx_freeze...

-- 
Grant Edwards               grant.b.edwards        Yow! Don't hit me!!  I'm in
                                  at               the Twilight Zone!!!
                              gmail.com            



_______________________________________________
cx-freeze-users mailing list
cx-freeze-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cx-freeze-users

Reply via email to