[SciPy-dev] gui_thread and wxPython-126.96.36.199
pearu at scipy.org
Fri Oct 1 15:53:00 CDT 2004
On Fri, 1 Oct 2004, Fernando Perez wrote:
>> I think I'll check in my changes in a little while. Please do test it
>> out and let me know if there are problems. I'm particularly
>> interested in other platforms, Windows, Mac and also wxPython-2.4.x.
>> Here is a simple test you can run:
>> import gui_thread
> Is there any reason the gui_thread module can't just call start() itself upon
> import? Are there valid situations where one may want to delay this call?
>> from gui_thread.examples import SimpleFrame
>> a = SimpleFrame()
>> a.SetTitle('Hey! this works!')
> Unfortunately it doesn't work with 2.4:
> In : wx.VERSION
> Out: (2, 4, 2, 4, 'u')
> New session:
> In : import gui_thread
> In : gui_thread.start()
> Traceback (most recent call last):
> File "scipy_base/pexec.py", line 56, in run
> exec (code, frame.f_globals,frame.f_locals)
> File "<string>", line 3, in ?
> ImportError: /usr/lib/python2.3/site-packages/wx/_core_.so: cannot open
> shared object file: No such file or directory
I got the same error and the fix is soon in CVS..
More information about the Scipy-dev