views:

418

answers:

2

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?

+2  A: 

32 or 64 bit Vista? When you did installs did you "run as admin"? I also had some issues with permissions on vista early on.

Also, this may be a fix if it isn't just the installation problem.

http://www.python-forum.org/pythonforum/viewtopic.php?f=4&t=11331

Hope this helps...

curtisk
Bno
Oh... and I added the info about Vista you asked for to the question
Bno
+4  A: 

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.