Re: ImportError: cannot import name plugins

seth vidal <[email protected]>
Newsgroups gmane.linux.rpm.yum
Message-ID <1173766441.20424.55.camel@cutter>
On Mon, 2007-03-12 at 20:50 -0700, Leslie Katz wrote:
> My head is spinning so much, I'm not sure anymore what I did, but I believe that I created from source rpms and then installed yum-3.0.4-1.noarch.rpm and yumupdatesd-3.0.4-1.noarch.rpm. Then, when I ran yum, I got the following output:
> 
> [leslie@localhost ~]$ /usr/bin/yum
> Traceback (most recent call last):
>   File "/usr/bin/yum", line 28, in ?
>     import yummain
>   File "/usr/share/yum-cli/yummain.py", line 24, in ?
>     from yum import plugins
> ImportError: cannot import name plugins
> [leslie@localhost ~]$
> 
> All of this is quite beyond me, but I did look at the FAQ and Google for the ImportError. The latter took me to one thread on this list, but it petered out without any resolution.
> 
> I'd be very grateful if anyone could explain to me how I go about trying to overcome the error.
> 

okay so let's take this from the top:

1. what distro
2. what ver of python?
3. what does 'rpm -q yum' return

-sv
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.