problem running wxPython demo.py

K

Ken Dere

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
_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
 
K

Ken Dere

Ken said:
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
_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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,774
Messages
2,569,596
Members
45,135
Latest member
VeronaShap
Top