hi all,
when installing the unicode enabled rpm for Linux on www.wxpython.org for RedHat 9 on a Suse 9.1 system I experienced no problem. But when trying to run a wxpython programm I got the following:
Traceback (most recent call last):
File "ooos.py", line 3, in ?
import wx
File "/usr/lib/python2.3/site-packages/wx/__init__.py", line 42, in ?
from wx._core import *
File "/usr/lib/python2.3/site-packages/wx/_core.py", line 4, in ?
import _core_
ImportError: /usr/lib/python2.3/site-packages/wx/_core_.so: undefined symbol: PyUnicodeUCS2_AsWideChar
hi all,
when installing the unicode enabled rpm for Linux on www.wxpython.org for RedHat 9 on a Suse 9.1 system I experienced no problem. But when trying to run a wxpython programm I got the following:
Traceback (most recent call last):
File "ooos.py", line 3, in ?
import wx
File "/usr/lib/python2.3/site-packages/wx/__init__.py", line 42, in ?
from wx._core import *
File "/usr/lib/python2.3/site-packages/wx/_core.py", line 4, in ?
import _core_
ImportError: /usr/lib/python2.3/site-packages/wx/_core_.so: undefined symbol: PyUnicodeUCS2_AsWideChar
The Python on your machine was built with different options than the one that I built the RPM with, so they are not binary compatible. If you get the src.rpm and rebuild it then you should end up with a set of RPMs that will be compatible with your Python.
···
--
Robin Dunn
Software Craftsman http://wxPython.org Java give you jitters? Relax with wxPython!