By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
444,002 Members | 1,171 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 444,002 IT Pros & Developers. It's quick & easy.

wxPython import error

P: n/a
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.
Oct 25 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
co*****@ljbsoftware.com 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:

<-cut->
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
Oct 26 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.