Re: Phoenix crash python interpreter on Windows 64
Adrian Hill <[email protected]>
| Newsgroups | gmane.comp.python.wxpython.devel |
|---|---|
| Message-ID | <[email protected]> |
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? > > -- You received this message because you are subscribed to the Google Groups "wxPython-dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.