[SciPy-user] wxpython

Howey, David A d.howey at imperial.ac.uk
Wed Jul 13 06:43:53 CDT 2005


 
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



More information about the SciPy-user mailing list