wxPython problems with Fedora Core 5

W

writeson

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
 
J

jerry.levan

writeson said:
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

Check the FC5 Forums, I think the basic answer was to remove the python
"compat"
rpms.

Jerry
 
F

Frank Millman

writeson said:
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
 
W

writeson

Frank,

Thanks for the link, that solved the problem for me with FC5! That was
a great help to me!

Doug
 

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

Members online

No members online now.

Forum statistics

Threads
473,770
Messages
2,569,583
Members
45,073
Latest member
DarinCeden

Latest Threads

Top