Report this

What is the reason for this report?

ImportError: No module named rpm

Posted on April 10, 2013

Hi can you help me fix this problem, it’s been 3 days searching the net and found nothing with this issue.

I am installing zpanel tutorial from here: http://www.zvps.co.uk/zpanelcp/ubuntu-12-04. I got stuck with the command … yum install ld-linux.so.2 curl, it gives me error below.

Traceback (most recent call last): File “/usr/bin/yum”, line 22, in <module> import yummain File “/usr/share/yum/yummain.py”, line 22, in <module> import clientStuff File “/usr/share/yum/clientStuff.py”, line 18, in <module> import rpm ImportError: No module named rpm



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

You’re on Ubuntu, right? “Try apt-get install rpm python pirut”

Sorry, I just read your message again. yum install ld-linux.so.2 curl? It’s a CentOS package.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.