Recently I installed yum on my Red Hat EL 4 machine.
I did this by using the yum package from CentOS.
I rpm the following files which I downloaded fom the Internet
centos-yumconf-4-4.5.noarch.rpm
python-urlgrabber-2.9.8-2.noarch.rpm
python-elementtree-1.2.6-5.el4.centos.i386.rpm
sqlite-3.3.6-2.i386.rpm
python-sqlite-1.1.7-1.2.1.i386.rpm
yum-2.4.3-3.el4.centos.noarch.rpm
However when I tried to run yum I got the following error
# yum search httpd
There was a problem importing one of the Python modules
required to run yum. The error leading to this problem was:
/usr/lib/python2.3/site-packages/cElementTree.so: cannot open shared object file: No such file or directory
Please install a package which provides this module, or
verify that the module is installed correctly.
It's possible that the above module doesn't match the
current version of Python, which is:
2.3.4 (#1, Nov 4 2004, 14:13:3

[GCC 3.4.2 20041017 (Red Hat 3.4.2-6.fc3)]
What can this be ? Could anybody explain me what the reason for
this error is and how to fix it. Any hint or suggestion is very welcome.
I am really stuck with this yum difficulty.
Thanks a lot.