Problems using wxPython

I am new to wxPython. I have just installed wxPython-src-2.8.4.0 by doing
./configure --with-gtk
make and make install.
Now I want to run the demo under wxPython/demo by python2.3 demo.py I get
the followin error:
Traceback (most recent call last):
  File "demo.py", line 3, in ?
    import Main
  File "/home/lirans/wxPython-src-2.8.4.0/wxPython/demo/Main.py", line 34,
in ?
    import wx # This module uses the new wx namespace
  File "/home/lirans/wxPython-src-2.8.4.0/wxPython/wx/__init__.py", line
45, in ?
    from wx._core import *
  File "/home/lirans/wxPython-src-2.8.4.0/wxPython/wx/_core.py", line 4, in
?
    import _core_
ImportError: No module named _core_

When I try to run setup.py under wxPython
python2.3 setup.py install gcc complains that he can not find all the
include files under include/wx/...

What am I doing wrong?

Thanks,
- Liran

Hi, Liran,
I think your python2.3 it's not fully supported on wxPython 2.8.4.

See www.wxpython.org

Liran Schour ha scritto:

···

I am new to wxPython. I have just installed wxPython-src-2.8.4.0 by doing
./configure --with-gtk
make and make install.
Now I want to run the demo under wxPython/demo by python2.3 demo.py I get
the followin error:
Traceback (most recent call last):
  File "demo.py", line 3, in ?
    import Main
  File "/home/lirans/wxPython-src-2.8.4.0/wxPython/demo/Main.py", line 34,
in ?
    import wx # This module uses the new wx namespace
  File "/home/lirans/wxPython-src-2.8.4.0/wxPython/wx/__init__.py", line
45, in ?
    from wx._core import *
  File "/home/lirans/wxPython-src-2.8.4.0/wxPython/wx/_core.py", line 4, in
?
    import _core_
ImportError: No module named _core_

When I try to run setup.py under wxPython
python2.3 setup.py install gcc complains that he can not find all the
include files under include/wx/...

What am I doing wrong?

Thanks,
- Liran

---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org

Mariano Di Felice wrote:

Hi, Liran,
I think your python2.3 it's not fully supported on wxPython 2.8.4.

2.3 should work fine.

···

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!