Traceback (most recent call last):
File "main.py", line 1, in <module>
import wx
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: /usr/lib/python2.5/site-packages/wx-2.8-gtk2-unicode/wx/_core_.so:
symbol _ZN5wxApp10InitializeERiPPw, version WXU_2.8 not defined in file
libwx_gtk2u_core-2.8.so.0 with link time reference
I don't have a clue what this means, I've downloaded and installed several
things several times, wxWidgets, glib, wxPython, gtk, maybe others. All of
them from source and from synaptic(I'm using Ubuntu 8.04) except for gtk which
won't let me install it from source until I remove the version I installed from
the Ubuntu repositories which demands that I remove every program dependent on
glib if I do so from synaptic, even though I already have a more recent version
then the one I'm removing.
I also thought the u in WXU and gtk2u might suggest something to do with unicode
so I configured wxWidgets and wxPython with --enable-unicode.
All in all I've been at it for a while, it's late, and I have gotten absolutely
nowhere.
> ___________
I just followed the directions on the wiki and it worked for me:
http://wiki.wxpython.org/InstallingOnUbuntuOrDebian
I don't think the key is required any more though as I always get an
error from the repositories that I add. The ones in the official Ubuntu
repositories seem to work fine, so I just use Apt-get to install it.
Unless you have a compelling reason to, you probably don't need to build
it yourself.
Mike
It probably means that the wx libs being found at runtime are not the
same ones that wxPython was built with.
--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!