> I have installed python 2.5 (AMD64) on Vista (64), also installed wx 2.8 > but I'm getting this error: > > """" > Traceback (most recent call last): > File "mymodule.py", line 39, in <module> > import wx > File "C:\Python25\Lib\site-packages\wx-2.8-msw-unicode\wx\__init__.py", > line 4 > 5, in <module> > from wx._core import * > File "C:\Python25\Lib\site-packages\wx-2.8-msw-unicode\wx\_core.py", > line 4, i > n <module> > import _core_ > ImportError: DLL load failed with error code 193 > """ > > I have set python.exe to run under admin but that do not fix the problem. > > Any ideas ?
193 means ERROR_BAD_EXE_FORMAT. Could it be that you are using a 32-bit extension DLL? How precisely did you "install" wx 2.8? Did you rebuild it from source? Regards, Martin -- http://mail.python.org/mailman/listinfo/python-list