Python – wxPython crashes under Vista

pythonwindows-vistawxpython

I am following the Getting Started guide for wxPython. But unfortunately the first 'Hello World' example crashes. The dialog window shows just fine, but as soon as I move my mouse over the window a "pythonw.exe has stopped working" Windows message appears.

I use:

Any ideas what can be wrong, or how to fix this?

Best Answer

See here for why: http://www.tejerodgers.com/snippets/2009/why-wxpython-crashes-python-26/

See wxPython's README for a hack that will let you work around the problem.

A fix has been discovered and will be included in the next release.

Related Topic