Python, RPM error

Austin Isler aisler at gmail.com
Wed Dec 29 00:45:53 UTC 2004


I apologize if this is in the archives, and I missed it.

I updated rpm a while back with:

# yum -y update rpm

I believe it installed a python2.4 package as well. Ever since then, I 
have had problems with python and rpm. I get this error when trying to 
use yum:

Traceback (most recent call last):
  File "/usr/bin/yum", line 6, in ?
    import yummain
  File "/usr/share/yum-cli/yummain.py", line 23, in ?
    import yum
  File "/usr/lib/python2.3/site-packages/yum/__init__.py", line 21, in ?
    import rpm
ImportError: No module named rpm

Appreciate the help,

Austin





More information about the fedora-list mailing list