<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7233.28">
<TITLE>ImportError: No module named yum</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->
<P><FONT SIZE=2>I've looked at the previous posts regarding this; unfortunately, none of them provided a working solution. I'm a fairly knowledgeable Linux user running RHEL 3.0.<BR>
<BR>
When I try to run yum, I get:<BR>
wrc2y0pk.us.nortel.com:/usr/bin ->yum<BR>
Traceback (most recent call last):<BR>
File "/usr/bin/yum", line 6, in ?<BR>
import yummain<BR>
File "/usr/share/yum-cli/yummain.py", line 23, in ?<BR>
import yum<BR>
ImportError: No module named yum<BR>
<BR>
Now, I've gone through the code and the code in question is<BR>
/usr/share/yum-cli/yummain.py<BR>
-- import yum<BR>
<BR>
I've compared this to a server with Yum on it, but I don't see any yum.py file anywhere. So, where is it even pulling yum?<BR>
<BR>
On my server, I've got: yum-2.1.11-3<BR>
<BR>
Thanks in advance!<BR>
-Me.<BR>
</FONT>
</P>
</BODY>
</HTML>