<!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.&nbsp; 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 -&gt;yum<BR>
Traceback (most recent call last):<BR>
&nbsp; File &quot;/usr/bin/yum&quot;, line 6, in ?<BR>
&nbsp;&nbsp;&nbsp; import yummain<BR>
&nbsp; File &quot;/usr/share/yum-cli/yummain.py&quot;, line 23, in ?<BR>
&nbsp;&nbsp;&nbsp; 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>
&nbsp;--&nbsp; 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.&nbsp; So, where is it even pulling yum?<BR>
<BR>
On my server, I've got:&nbsp; yum-2.1.11-3<BR>
<BR>
Thanks in advance!<BR>
-Me.<BR>
</FONT>
</P>

</BODY>
</HTML>