Hi guys,
I just installed Phoenix under Anaconda Python 3.5 64 bit under Windows 10. But when I run anything wxPython’ic it crashes the interpreter. This happens both to python and iPython and it crashes when the window created by the app is displayed. A minimal (non-) working example is:
import wx
if name == “main”:
app = wx.PyApp()
fr = wx.Frame(None, title='test')
fr.Show() ################### Python crashes at this line
app.MainLoop()
del app
I have tried to Google this, but without any success. Anyone can give a hint?
The “usual” way to create the frame is from within the App class (typically from within OnInit()).
Trying your script on a W7 machine (that I use with wxPython regularly) also crashes.
So, the problem appears to be with your script, not wxPython itself.
HTH
Adrian
···
On Friday, December 23, 2016 at 11:51:08 AM UTC-7, Robert Rehammar wrote:
Hi guys,
I just installed Phoenix under Anaconda Python 3.5 64 bit under Windows 10. But when I run anything wxPython’ic it crashes the interpreter. This happens both to python and iPython and it crashes when the window created by the app is displayed. A minimal (non-) working example is:
import wx
if name == “main”:
app = wx.PyApp()
fr = wx.Frame(None, title='test')
fr.Show() ################### Python crashes at this line
app.MainLoop()
del app
I have tried to Google this, but without any success. Anyone can give a hint?