Re: DLL Error from a beginner

2016-09-13 Thread Irmen de Jong
On 13-9-2016 23:59, srfp...@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

-- 
https://mail.python.org/mailman/listinfo/python-list


DLL Error from a beginner

2016-09-13 Thread srfpala
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 ?
-- 
https://mail.python.org/mailman/listinfo/python-list