problem running wxPython demo.py
Ken Dere
kpdere2968 at mcihispeed.net
Thu May 13 12:28:37 EDT 2004
Ken Dere wrote:
> 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 at 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
> _ZNK8wxRegion15ConvertToBitmapEv, 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
>
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.
More information about the Python-list
mailing list