wxPython problems with Fedora Core 5

Frank Millman frank at chagford.com
Sat Jun 3 02:58:53 EDT 2006


writeson wrote:
> Hi all,
>
> I'm trying to use wxPython from a fairly new installation of Fedora
> Core 5. I installed wxPython using yum -y install wxPython and that all
> seemed to work fine. However, when I run Python and do this:
>
> import wx
>
> I get this:
>
> 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
>
> Anyone have any ideas what's going on and what I can do to fix this?
>
> Thanks in advance,
> Doug

Here is a link to a message in the wxpython-users mailing list archive,
which apparently gives the solution to your problem.

http://tinyurl.com/gf276

I cannot vouch for it. I installed wxPython on FC5 without any
problems, using the FC4 binary rpm's from wxPython.org.

Hope it works for you.

Frank Millman




More information about the Python-list mailing list