[Yum] problem

Greg Knaddison greg.knaddison at gmail.com
Tue Sep 20 02:57:07 UTC 2005


On 9/19/05, Cengiz Yazgan <cengizyazgan at doruk.net.tr> wrote:
> 
> yum update
> 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.2.1 (#1, Aug 30 2002, 12:15:30)
> [GCC 3.2 20020822 (Red Hat Linux Rawhide 3.2-4)]
> 
> If you cannot solve this problem yourself, please send this
> message to <yum at lists.linux.duke.edu>.
> 
> 
> I have a phyton newest version.
> Pls tell me what can i do
> 
> 

Having the newest version of python is probably your problem.

http://wiki.linux.duke.edu/YumFaq#Q7:

This error message is often misleading. To see the real error, run
python from the command line, and type import yum. The problem
probably isn't with your version of python at all, but with a missing
libxml2-python, python-sqlite, or python-elementtree package.

A future version of yum will attempt to provide different error
messages for different possible module import errors, so this will
become less confusing.

Regards,
Greg



More information about the Yum mailing list