problem running wxPython demo.py

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Ken Dere

    problem running wxPython demo.py

    I am running Suse 9.0 with python 2.3-52 and python-wxGTK 2.4.1.2-43.
    Everything has been installed from the CD distribution and should work
    together.

    when trying to run the demo, I get:

    ken@linux1:/usr/share/doc/packages/python-wxGTK/demo> python demo.py
    Traceback (most recent call last):
    File "demo.py", line 3, in ?
    import Main
    File "/usr/share/doc/packages/python-wxGTK/demo/Main.py", line 16, in ?
    import wx # This module uses the new wx namespace
    File "/usr/lib/python2.3/site-packages/wx/__init__.py", line 45, in ?
    from wxPython import wx
    File "/usr/lib/python2.3/site-packages/wxPython/__init__.py", line 20,
    in ?
    import wxc
    ImportError: /usr/lib/python2.3/site-packages/wxPython/wxc.so: symbol
    _ZNK8wxRegion15 ConvertToBitmap Ev, version WXGTK_2.4 not defined in file
    libwx_gtk-2.4.so.0 with link time reference

    looking through google groups has turned up anything similar.

    any help is appreciated.
    Ken

    --
    Ken D.

  • Ken Dere

    #2
    Re: problem running wxPython demo.py

    Ken Dere wrote:
    [color=blue]
    > I am running Suse 9.0 with python 2.3-52 and python-wxGTK 2.4.1.2-43.
    > Everything has been installed from the CD distribution and should work
    > together.
    >
    > when trying to run the demo, I get:
    >
    > ken@linux1:/usr/share/doc/packages/python-wxGTK/demo> python demo.py
    > Traceback (most recent call last):
    > File "demo.py", line 3, in ?
    > import Main
    > File "/usr/share/doc/packages/python-wxGTK/demo/Main.py", line 16, in ?
    > import wx # This module uses the new wx namespace
    > File "/usr/lib/python2.3/site-packages/wx/__init__.py", line 45, in ?
    > from wxPython import wx
    > File "/usr/lib/python2.3/site-packages/wxPython/__init__.py", line 20,
    > in ?
    > import wxc
    > ImportError: /usr/lib/python2.3/site-packages/wxPython/wxc.so: symbol
    > _ZNK8wxRegion15 ConvertToBitmap Ev, version WXGTK_2.4 not defined in file
    > libwx_gtk-2.4.so.0 with link time reference
    >
    > looking through google groups has turned up anything similar.
    >
    > any help is appreciated.
    > Ken
    >[/color]

    well, I got a hint from the wxPython lists. I seems that the version of my
    demo files and wxGTK were not the same. Fixed that and now it runs fine.

    Ken
    --
    Ken D.

    Comment

    Working...