[IPython-user] IPython error

abhishek banerjee ebabur@gmail....
Mon Jul 20 02:30:59 CDT 2009


hi all
          I am trying to use IPython with wthread option but it always
giving me the error given below

 [abhishek@localhost ~]$ ipython -wthread
/usr/lib/python2.6/site-packages/IPython/Magic.py:38: DeprecationWarning:
the sets module is deprecated
  from sets import Set
---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)

/usr/bin/ipython in <module>()
     26 import IPython.Shell
     27
---> 28 IPython.Shell.start().mainloop()
     29
     30

/usr/lib/python2.6/site-packages/IPython/Shell.py in start(user_ns)
   1231
   1232     shell = _select_shell(sys.argv)
-> 1233     return shell(user_ns = user_ns)
   1234
   1235 # Some aliases for backwards compatibility


/usr/lib/python2.6/site-packages/IPython/Shell.py in __init__(self, argv,
user_ns, user_global_ns, debug, shell_class)
    880         threading.Thread.__init__(self)
    881         self.wx = wx
--> 882         self.wx_mainloop = hijack_wx()
    883
    884         # Allows us to use both Tk and GTK.


/usr/lib/python2.6/site-packages/IPython/Shell.py in hijack_wx()
    696         import wxPython as wx
    697
--> 698     ver = wx.__version__
    699     orig_mainloop = None
    700     if ver[:3] >= '2.5':

AttributeError: 'module' object has no attribute '__version__'
Plz help me. I want use for Mayavi2 . My wxPython version 2.8.9 and IPython
0.9.1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/ipython-user/attachments/20090720/64780e59/attachment.html 


More information about the IPython-user mailing list