From 0423faf0425d9d78e9de71b360807db2cd1a052d 2009-09-13 18:08:06 From: Laurent Dufrechou Date: 2009-09-13 18:08:06 Subject: [PATCH] add a check to verify is wx.aui is present on the system.\n Else tells the user to install wxpython > 2.8.0 --- diff --git a/IPython/gui/wx/wxIPython.py b/IPython/gui/wx/wxIPython.py index b724e53..177c7e6 100644 --- a/IPython/gui/wx/wxIPython.py +++ b/IPython/gui/wx/wxIPython.py @@ -1,8 +1,13 @@ #!/usr/bin/python # -*- coding: iso-8859-15 -*- -import wx.aui import sys +try: + import wx.aui +except ImportError: + print "Can't laod wx.aui module, please check that you have installed wxpython > 2.8 and taht it is your default install" + sys.exit(1) + #used for about dialog from wx.lib.wordwrap import wordwrap