[Yum] error - No module named yum

David Timms dtimms at iinet.net.au
Mon Jun 2 07:37:26 UTC 2008


Abdulla Khan wrote:
> David Timms wrote:
>> Abdulla Khan wrote:
>>> all the following python modules have been installed
>>>
>>> python-elementtree-1.2.6-4.2.1
>> ...
>> but has yum ?
>>
>> what distro ?
> Distro is Fedora 5

>> yum version ?
> Yum version is yum-2.6.0-1

>> rpm -V yum ?
/\ you forgot to mention this one ;)

The following helps us to be sure the rpms are properly installed:
$ rpm -V yum rpm python python-urlgrabber rpm-python

Check if debug gives any additional useful info:
$ yum -d 10 list

Try to start yum manually:
$ python
 >>> import yum

What do each of the above say ?

ps. please avoid top-posting; the fastest way for others to read is to 
place your response below each question {and try to remove any redundant 
quoting from the reply}.



More information about the Yum mailing list