wxPython

GuyBrush Treepwood lfdl at hotmail.com
Mon Feb 21 19:14:40 EST 2005


I just compiled and installed wxWidgets and wxPython.
When I want to test this libraries, I get:


Python 2.4 (#1, Feb 19 2005, 19:24:31)
[GCC 3.3.4] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from wxPython.wx import *
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
  File "/usr/local/lib/python2.4/site-packages/wx-2.5.3-gtk2-ansi/wxPython/__init__.py", line 10, in ?
    import _wx
  File "/usr/local/lib/python2.4/site-packages/wx-2.5.3-gtk2-ansi/wxPython/_wx.py", line 3, in ?
    from _core import *
  File "/usr/local/lib/python2.4/site-packages/wx-2.5.3-gtk2-ansi/wxPython/_core.py", line 15, in ?
    import wx._core
  File "/usr/local/lib/python2.4/site-packages/wx-2.5.3-gtk2-ansi/wx/__init__.py", line 42, in ?
    from wx._core import *
  File "/usr/local/lib/python2.4/site-packages/wx-2.5.3-gtk2-ansi/wx/_core.py", line 4, in ?
    import _core_
ImportError: libwx_gtk2_xrc-2.5.so.3: cannot open shared object file: No such file or directory

I installed wxWidgets in /opt/wx/2.5 as described in
http://www.wxpython.org/BUILD.html.

$ls /opt/wx/2.5/lib | grep wx
libwx_baseud-2.5.so@
libwx_baseud-2.5.so.3@
libwx_baseud-2.5.so.3.0.0*
libwx_baseud_net-2.5.so@
libwx_baseud_net-2.5.so.3@
libwx_baseud_net-2.5.so.3.0.0*
libwx_baseud_xml-2.5.so@
libwx_baseud_xml-2.5.so.3@
libwx_baseud_xml-2.5.so.3.0.0*
libwx_gtk2ud_adv-2.5.so@
libwx_gtk2ud_adv-2.5.so.3@
libwx_gtk2ud_adv-2.5.so.3.0.0*
libwx_gtk2ud_core-2.5.so@
libwx_gtk2ud_core-2.5.so.3@
libwx_gtk2ud_core-2.5.so.3.0.0*
libwx_gtk2ud_gizmos-2.5.so@
libwx_gtk2ud_gizmos-2.5.so.3@
libwx_gtk2ud_gizmos-2.5.so.3.0.0*
libwx_gtk2ud_gl-2.5.so@
libwx_gtk2ud_gl-2.5.so.3@
libwx_gtk2ud_gl-2.5.so.3.0.0*
libwx_gtk2ud_html-2.5.so@
libwx_gtk2ud_html-2.5.so.3@
libwx_gtk2ud_html-2.5.so.3.0.0*
libwx_gtk2ud_ogl-2.5.so@
libwx_gtk2ud_ogl-2.5.so.3@
libwx_gtk2ud_ogl-2.5.so.3.0.0*
libwx_gtk2ud_stc-2.5.so@
libwx_gtk2ud_stc-2.5.so.3@
libwx_gtk2ud_stc-2.5.so.3.0.0*
libwx_gtk2ud_xrc-2.5.so@
libwx_gtk2ud_xrc-2.5.so.3@
libwx_gtk2ud_xrc-2.5.so.3.0.0*
wx/

I seem to have the necessary libraries installed, but with a *ud* pattern
in their name.

Any advice here?




More information about the Python-list mailing list