On Thu, Dec 17, 2009 at 3:49 PM, sharath maddineni
<[email protected]> wrote:
> if I try installing by "yum install zlib"
> it gives me following error
>
> 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

It sounds like your Red Hat installation is hosed.  yum is a basic
part of the OS, and Red Hat uses Python internally.  I know more about
Ubuntu than Red Hat, but it should not have let you uninstall an
essential package without explicit override options, so the
alternative is that the OS files are corrupted and who knows what else
is wrong too.  If the first error message was about yum, that could
have caused a cascade of errors leading to the zlib problem.  I.e., if
you fix the yum problem, maybe the zlib problem will go away by
itself.

But if you can't solve the problem easily to your satisfaction (e.g.,
by installing zlib or yum, or compiling Python yourself to
/usr/local), your time would be better spent reinstalling the OS.

It's an unlikely possibility, but there may be a 'python-zlib' package
you're missing.

-- 
Mike Orr <[email protected]>

--

You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en.


Reply via email to