[IPython-User] IsAppMainLoopRunning false

David Warde-Farley wardefar@iro.umontreal...
Mon Mar 7 20:00:01 CST 2011


On 2011-03-07, at 6:24 PM, Eduardo Suarez-Santana wrote:

> I get this in gentoo, both x86 and amd64:
> 
> $ ipython -wthread
> Python 2.6.6 (r266:84292, Mar  4 2011, 21:12:10) 
> Type "copyright", "credits" or "license" for more information.
> 
> IPython 0.10.1 -- An enhanced Interactive Python.
> ?         -> Introduction and overview of IPython's features.
> %quickref -> Quick reference.
> help      -> Python's own help system.
> object?   -> Details about 'object'. ?object also works, ?? prints more.
> 
> In [1]: import wx
> 
> In [2]: wx.App.IsMainLoopRunning()
> Out[2]: False

You haven't started the mainloop. Try plotting something with matplotlib, for example.

David


More information about the IPython-User mailing list