[Yum] Yum error

Greg Knaddison greg.knaddison at gmail.com
Wed Nov 9 15:59:57 UTC 2005


On 11/9/05, Brian O'Connor <brian.oconnor at nitrosell.com> wrote:
> There was a problem importing one of the Python modules
> required to run yum. The error leading to this problem was:
>
>    No module named yum
>
> 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:38)
> [GCC 3.4.2 20041017 (Red Hat 3.4.2-6.fc3)]
>

Brian,

This is probably a problem with the way that you installed yum.

The easiest way is probably to grab the RPM from
http://mirror.centos.org/centos/3/os/i386/RedHat/RPMS/yum-2.0.8-1.centos.7.noarch.rpm

and install that.

If you really want a newer version of yum you could try downloading
the srpm for yum and rpmbuild --rebuilding it as that works more
reliably.

Regards,
Greg



More information about the Yum mailing list