Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

wxPython crashes under Vista

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:

  • Python 2.6.2
  • wxPython2.8-win32-unicode-2.8.9.2-py26
  • Vista (latest SP and updates installed) 32 bits, running as Admin

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

like image 951
Benno Richters Avatar asked Nov 25 '25 06:11

Benno Richters


1 Answers

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.


Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!