wxPython problems with Fedora Core 5

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • writeson

    #1

    wxPython problems with Fedora Core 5

    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_con text

    Anyone have any ideas what's going on and what I can do to fix this?

    Thanks in advance,
    Doug

  • jerry.levan@gmail.com

    #2
    Re: wxPython problems with Fedora Core 5


    writeson wrote:[color=blue]
    > 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_con text
    >
    > Anyone have any ideas what's going on and what I can do to fix this?
    >
    > Thanks in advance,
    > Doug[/color]

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

    Jerry

    Comment

    • Frank Millman

      #3
      Re: wxPython problems with Fedora Core 5


      writeson wrote:[color=blue]
      > 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_con text
      >
      > Anyone have any ideas what's going on and what I can do to fix this?
      >
      > Thanks in advance,
      > Doug[/color]

      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

      Comment

      • writeson

        #4
        Re: wxPython problems with Fedora Core 5

        Frank,

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

        Doug

        Comment

        Working...