Guido Schimmels wrote:
ImportError:
/usr/lib/python2.2/site-packages/gtk/_gtkmodule.so: undefined
symbol: PyUnicodeUCS2_FromUnicode
python can be compiled to use either 16-bit (UCS-2) or 32-bit (UCS-4) for internal unicode representation.
Extension modules are incompatible between those two options. UCS-2 was used in the past by most
distros, but now most use UCS-4, which is what GvR suggests as well.
How can I figure out which package/module/component has the dependency
on UCS2? I think it's pygtk, but I frankly can't tell.
Never replace the python interpreter on a redhat/fedora system on your own.
Fair enough - and I don't think that I did that. I've only upgraded
Python as a part of a redhat security release or as a part of an OS
upgrade
When you upgrade python, the savest thing is to upgrade all python extension modules on your system
(pygtk, py-kudzu, rhpl, pyx86config, pyparted) and the system-config apps at the same time.
I sincerely believe that all of the extension modules ARE the right
versions for use with CentOS.
>From my original posting:
pyxf86config-0.3.5-1
pygtk2-libglade-1.99.16-8
pygtk2-1.99.16-8
etc - all are the 'current' versions from the 'vendor.'
So it seems that something is left over from a previous installation
that is giving me a hard time now. I'm hoping that someone can help me
diagnose.
Or leave the installed python alone and install the new version alongside, which is really the best advice.
If I ever intentionally want a different/custom version of python, I
will indeed install it alongside the official version.
Thanks much for the feedback.
Regards,
Tom Cooper
|