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.[color=blue][color=green][color=darkred]
>>> import wx[/color][/color][/color]
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_co re-2.6.so.0: undefined symbol:
pango_x_get_con text
=============== =============== =============== =============== =============== ==
Any help or explanation would be greatly appreciated.
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.[color=blue][color=green][color=darkred]
>>> import wx[/color][/color][/color]
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_co re-2.6.so.0: undefined symbol:
pango_x_get_con text
=============== =============== =============== =============== =============== ==
Any help or explanation would be greatly appreciated.
Comment