[Yum] Problems w/Yum after Python Upgrade

Williard, Jason Jason.Williard at chartercom.com
Tue Nov 21 17:24:29 UTC 2006

I recently upgraded Python on my CentOS 4.4 server to Python 2.5.  After
a while, I noticed that I was no longer able to run Yum.  When I try, I
get the following message.  Has anyone seen this before?  If so, do you
know what causes this and how to resolve it?

There was a problem importing one of the Python modules
required to run yum. The error leading to this problem was:

   No module named rpm

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.5 (r25:51908, Nov  6 2006, 16:30:47)
[GCC 3.4.6 20060404 (Red Hat 3.4.6-3)]

If you cannot solve this problem yourself, please go to
the yum faq at:






The contents of this e-mail message and 
any attachments are intended solely for the 
addressee(s) and may contain confidential 
and/or legally privileged information. If you 
are not the intended recipient of this message 
or if this message has been addressed to you 
in error, please immediately alert the sender
 by reply e-mail and then delete this message 
and any attachments. If you are not the 
intended recipient, you are notified that 
any use, dissemination, distribution, copying, 
or storage of this message or any attachment 
is strictly prohibited.

More information about the Yum mailing list