[Yum] ImportError: No module named rpm

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wednesday 04 August 2004 21:27, roman@xxxxxxxxxxxx wrote:
> # yum
> Traceback (most recent call last):
>   File "/usr/bin/yum", line 22, in ?
>     import yummain
>   File "yummain.py", line 21, in ?
>     import clientStuff
>   File "clientStuff.py", line 22, in ?
>     import rpm
> ImportError: No module named rpm

Obviously, your installation is missing the python rpm binding. 

> Now, due to the site at which I'm at, I'd prefer to use the
> sunfreeware RPM that I currently have installed,however I'm open to
> suggestions at this point.

Check your rpm.rpm and the rpm spec for python related files.
You possibly need to rebuild rpm with the python binding enabled for 
your current python installation.

> Could someone out there who's done this on Solaris possibly point
> me in the right direction and maybe point out some of the pitfalls
> while you're at it?

Hth,
Pete


[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux