[SciPy-user] wxpython

Brice Thurin B.P.S.Thurin at city.ac.uk
Wed Jul 13 08:11:35 EDT 2005


Hi,

I had some trouble in the past as well using gui_thread and someone  
recommend me to use matplotlib (http://matplotlib.sourceforge.net).  
Otherwise, wxpython allows you to play with gui and can be find here:  
(http://www.wxpython.org).

Brice

On 13 Jul 2005, at 12:43, Howey, David A wrote:

>
> I've just got python and scipy working on my winXP box here - hurrah! I
> have the following installed so far:
>
> Python 2.3.5
> Python 2.3 F2PY-2.45.241_1926
> Python 2.3 Numeric-23.1
> Python 2.3 pywin32 extensions (build 204)
> Python 2.3 SciPy_complete-0.3.2
>
> So I thought I would try the little bit of code on
> http://www.scipy.org/documentation/FAQ.html under 'what does a
> python...session look like?'
>
> Sadly, it bombs out on 'gui_thread.start()' with the following:
>
>>>> gui_thread.start()
> Traceback (most recent call last):
>   File "C:\Python23\Lib\site-packages\scipy_base\pexec.py", line 56, in
> run
>     exec (code, frame.f_globals,frame.f_locals)
>   File "<string>", line 1, in ?
> ImportError: No module named wxPython
>
> Traceback (most recent call last):
>   File "<pyshell#5>", line 1, in -toplevel-
>     gui_thread.start()
>   File "C:\Python23\Lib\site-packages\gui_thread\__init__.py", line 73,
> in start
>     wxPython_thread()
>   File "C:\Python23\Lib\site-packages\gui_thread\wxPython_thread.py",
> line 156, in wxPython_thread
>     for name in get_extmodules(pexec):
>   File "C:\Python23\Lib\site-packages\gui_thread\wxPython_thread.py",
> line 25, in get_extmodules
>     _do_import(pexec)
>   File "C:\Python23\Lib\site-packages\gui_thread\wxPython_thread.py",
> line 115, in _do_import
>     path = os.path.dirname(sys.modules['wxPython'].__file__)
> KeyError: 'wxPython'
>>>>
>
>
> Any ideas?
> Thanks
>
> Dave
>
> _______________________________________________
> SciPy-user mailing list
> SciPy-user at scipy.net
> http://www.scipy.net/mailman/listinfo/scipy-user
>
>
Brice Thurin

Department of Optometry and Visual Science
City University, Northampton Square
London, EC1V 0HB, UK.
http://www.city.ac.uk/optometry/Luis/myresearch/Research/ 
scatteringproper.html
http://www.sharpeye.org/

Tel: +44 (0)20 7040 4157
Fax: +44(0)20 7040 8355
e-mail: B.P.S.Thurin at city.ac.uk




More information about the SciPy-User mailing list