wxPython import error

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • contact@ljbsoftware.com

    #1

    wxPython import error

    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.[color=blue][color=green][color=darkred]
    >>> import wx[/color][/color][/color]
    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_co re-2.6.so.0: undefined symbol:
    pango_x_get_con text
    =============== =============== =============== =============== =============== ==

    Any help or explanation would be greatly appreciated.
  • Michele Petrazzo

    #2
    Re: wxPython import error

    contact@ljbsoft ware.com ha scritto:[color=blue]
    > 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:
    >[/color]

    <-cut->
    [color=blue]
    > Any help or explanation would be greatly appreciated.[/color]

    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

    Comment

    Working...