[SciPy-user] SciPy and gui_thread()

Robert Kern rkern at ucsd.edu
Fri Jun 17 14:31:11 CDT 2005


Zhiwen Chong wrote:
> Hello everyone,
> 
> I was trying to do a bit of plotting but was stymied by this:
> 
>     >>> import gui_thread
>     numerix Numeric 24.0b2
>     >>> gui_thread.start()
>     Traceback (most recent call last):
>       File "<stdin>", line 1, in ?
>       File "/Library/Frameworks/Python.framework/Versions/2.4/lib/ 
> python2.4/site-packages/gui_thread/__init__.py", line 73, in start
>         wxPython_thread()
>       File "/Library/Frameworks/Python.framework/Versions/2.4/lib/ 
> python2.4/site-packages/gui_thread/wxPython_thread.py", line 160, in  
> wxPython_thread
>         sys.modules[name] = wrap_extmodule(module,call_holder)
>       File "/Library/Frameworks/Python.framework/Versions/2.4/lib/ 
> python2.4/site-packages/gui_thread/wxPython_thread.py", line 61, in  
> wrap_extmodule
>         raise NotImplementedError,`t`
>     NotImplementedError: <type 'PyCObject'>
>     >>>

I don't think that gui_thread has been updated for wxPython 2.6. 
gui_thread has mostly been obsoleted by ipython. I highly recommend 
using ipython for this and many other reasons.

http://ipython.scipy.org

-- 
Robert Kern
rkern at ucsd.edu

"In the fields of hell where the grass grows high
  Are the graves of dreams allowed to die."
   -- Richard Harter



More information about the SciPy-user mailing list