wxPython import error

contact at ljbsoftware.com contact at ljbsoftware.com
Mon Oct 24 22:33:13 EDT 2005


I have tried several times to install wxPython on Fedora Core 2.  The
installation seems to go fine (from sources), but when I try to import the
wx module I keep getting the following error:

=============================================================================
Python 2.4.2 (#1, Sep 29 2005, 13:42:11)
[GCC 3.3.3 20040412 (Red Hat Linux 3.3.3-7)] 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/local/lib/python2.4/site-packages/wx-2.6-gtk2-unicode/wx/__init__.py",
line 42, in ?
    from wx._core import *
  File
"/usr/local/lib/python2.4/site-packages/wx-2.6-gtk2-unicode/wx/_core.py",
line 4, in ?
    import _core_
ImportError: /usr/local/lib/libwx_gtk2ud_core-2.6.so.0: undefined symbol:
pango_x_get_context
=============================================================================

Any help or explanation would be greatly appreciated.



More information about the Python-list mailing list