wxPython import error

C

contact

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.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.
 
M

Michele Petrazzo

(e-mail address removed) ha scritto:
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:

Any help or explanation would be greatly appreciated.

For a my customer I had tried a lot of time, but without success to
compile and install wx 2.6.x
But luckily there is a precompiled package on wxpython.org.
Have you try it?

Michele
 

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

Similar Threads


Members online

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,020
Latest member
GenesisGai

Latest Threads

Top