[Yum] yum: No module named cElementTree

Rick Leir rleir at leirtech.com
Tue Jun 20 19:22:44 UTC 2006


I have Fedora core 5, updated recently.
Today, yum update was failing for me, saying:
 No module named cElementTree

After a bit of searching I found
http://effbot.org/downloads/#cElementTree

Unpack, then say:
# python setup.py install

This helped yum get further, failing with:
 cannot import name iterparse

It is here:
http://effbot.org/downloads/#elementtree

Again, unpack and say:
# python setup.py install

Was there a better way to fix this?

My yum.conf is a bit convoluted, maybe that caused the problem.
cheers -- Rick






More information about the Yum mailing list