[wxPython-users] slax (or slackware) and wxpython ?

Horst JENS horst.jens at chello.at
Fri Feb 2 06:29:03 PST 2007


On Thu, 2007-02-01 at 09:29 -0800, Robin Dunn wrote:
> Horst JENS wrote:
> > Hello list,
> > I try to get wxpython running on slax live-cd but i make no progress. 
> > I use the current slax cd from www.slax.org (full and popcorn version)
> > and want wxpython to work with python2.5 or python2.4.
> > 
> > My problem is that i get errors about missing GTK modules and i can not
> > figure out what to install or compile first to get wxpython running.
> 
> What are the errors?
> 

Thanks for the fast response. The errors were (if typing "import wx" on
python2.5 prompt:

=============================================================
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File
"/usr/lib/python2.5/site-packages/wx-2.8-gtk2-unicode/wx/__init__.py",
line 45, in <module>
    from wx._core import *
  File
"/usr/lib/python2.5/site-packages/wx-2.8-gtk2-unicode/wx/_core.py", line
4, in <module>
    import _core_
ImportError: libwx_gtk2u_aui-2.8.so.0: cannot open shared object file:
No such file or directory
>>>         Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File
"/usr/lib/python2.5/site-packages/wx-2.8-gtk2-unicode/wx/__init__.py",
line 45, in <module>
    from wx._core import *
  File
"/usr/lib/python2.5/site-packages/wx-2.8-gtk2-unicode/wx/_core.py", line
4, in <module>
    import _core_
ImportError: libwx_gtk2u_aui-2.8.so.0: cannot open shared object file:
No such file or directory
>>>         
================================================================

as far as i understand i miss some critical libwx package.

There is no libwx-gtk package on the slackware netsite.
Wich packages / modules do i have to install so that the wxpython
package works ?

I used the wxpython 2.8.0.1 slackware package from 
http://www.linuxpackages.net/search_view.php?by=name&name=wxpython&ver=11.0

and converted it into a slax module with tgz2mo. (also replaced
python2.4 with python2.5: mo2dir, dir2mo)


-Horst






More information about the wxpython-users mailing list