[Yum] yum--need help with python for yum on RHEL4 system

Blair Smith smithbm at inspi.ufl.edu
Wed Mar 29 15:45:38 UTC 2006


Hi there,
I installed a few rpm's on my RHEL4 box, since i need non-redhat package 
management.
Specifically I used:
python-urlgrabber-2.9.6-2.noarch.rpm
python-sqlite-1.1.6-1.i386.rpm
python-elementtree-1.2.6-4.i386.rpm
python-urlgrabber-2.9.6-2.noarch.rpm
centos-yumconf-4-4.3.noarch.rpm
yum-2.4.0-1.centos4.noarch.rpm.
sqlite-3.2.2-1.i386.rpm

But when I ran yum for the first time I received this error message:
-----------------
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, Feb  2 2005, 11:44:13)
[GCC 3.4.3 20041212 (Red Hat 3.4.3-9.EL4)]
-----------------
Yet I do see a file "/usr/lib/python2.3/site-packages/cElementTree.so", 
so what could be the problem? 

Please help me!

Thanks,
Blair.




More information about the Yum mailing list