Hi,
In the wiki link 'getting started', there is the following comment:
What's the following error massage with running wxPython in My
Linux(Fedora core 5)
Python 2.4.2 (#1, Feb 12 2006, 03:59:46) [GCC 4.1.0 20060210 (Red Hat
4.1.0-0.24)] on linux2 Type "help", "copyright", "credits" or "license"
for more information. >>> import wx Traceback (most recent call last):
* File "<stdin>", line 1, in ? File
"/usr/lib/python2.4/site-packages/wx/init.py", line 45, in ?
* from wxPython import wx
File "/usr/lib/python2.4/site-packages/wxPython/init.py", line
20, in ?
* import wxc
ImportError: /usr/lib/libwx_gtk2-2.4.so.0: undefined symbol:
pango_x_get_context
This is because pango_x_get_context was removed from GTK, and Fedora has
old wx libraries installed. They are installed as compat-wx*. To find
if they are there run the command 'rpm -q -a | grep -i compat-wx'. You
should get four packages. Run 'rpm -e --nodeps PACKAGENAME' on each of
the packages to remove it. Then wx will import properly. I'd list the
libraries but they are gone on my system.
Hope this helps someone else.