Another q regarding expat

Martin von Loewis loewis at
Fri Oct 5 18:06:42 CEST 2001

Rajarshi Guha <rxg218 at> writes:

> /usr/lib/python2.2/ RuntimeWarning: Python C API version 
> mismatch for module dcpyexpat: This Python has API version 1011, module 
> dcpyexpat has version 1010.
> I get the mess above! I've noticed similar errors with other packages 
> (especially pygtk) - how can I fix version mismatches?

Only through recompilation.

> The second error seems more involved? I have expat installed - am I missing 
> any extra files?

If you have libexpat.{a,so} installed, you still need to recompile; you cannot use a pyexpat RPM from a different Python

After you've installed libexpat, you need to recompile Python, or
atleast re-run Python's to get a recompiled


More information about the Python-list mailing list