Agreed, I don't think this is kde/kubuntu specific, I thought it was, but I've got a bit further ...
The bottom line is that an import statement
from xml.parsers.expat import ExpatError, ParserCreate
is giving an
ImportError: /usr/local/lib/python2.5/site-packages/_xmlplus/parsers/pyexpat.so: undefined symbol: PyUnicodeUCS2_DecodeUTF8
i.e: two pythons compiled with different numbers of bytes for unicode characters.
But, why it's not finding the right thing within the system python (first) is the question (and what other things this might cause that we've not yet identified).
Agreed, I don't think this is kde/kubuntu specific, I thought it was, but I've got a bit further ...
The bottom line is that an import statement lib/python2. 5/site- packages/ _xmlplus/ parsers/ pyexpat. so: undefined symbol: PyUnicodeUCS2_ DecodeUTF8
from xml.parsers.expat import ExpatError, ParserCreate
is giving an
ImportError: /usr/local/
Which comes down to a problem which is well understood: www.python. org/doc/ faq/extending. html#when- importing- module- x-why-do- i-get-undefined -symbol- pyunicodeucs2
http://
i.e: two pythons compiled with different numbers of bytes for unicode characters.
But, why it's not finding the right thing within the system python (first) is the question (and what other things this might cause that we've not yet identified).