DLL Error from a beginner
Irmen de Jong
irmen.NOSPAM at xs4all.nl
Tue Sep 13 18:32:25 EDT 2016
On 13-9-2016 23:59, srfpala at gmail.com wrote:
> Running Pyscripter and Python version 2.7.12 on Win10 Home on a 64bit Laptop
> 1. A simple Python application runs successfully.
> 2. WxPython(wxPython3.0-win64-3.0.2.0-py27(1).exe executed successfully
> 3. To the simple app above, I add import wx and an Error Dialog occurs:
> ImportError: DLL load failed: %1 is not a valid 32 application
> If I see win64 in the exe filename I think I have the correct wxPython install.
> What have a done wrong ?
>
Is your python installation itself of the 64-bit kind?
Otherwise, you have to install the 32 bits wxpython library rather than the 64 bits one
you showed us above. (Or switch to a 64 bit python implementation)
Irmen
More information about the Python-list
mailing list