ImportError: No module named rpm

Posted April 10, 2013 7.2k views
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: I got stuck with the command ... yum install curl, it gives me error below. Traceback (most recent call last): File "/usr/bin/yum", line 22, in import yummain File "/usr/share/yum/", line 22, in import clientStuff File "/usr/share/yum/", line 18, in import rpm ImportError: No module named rpm

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.

Submit an Answer
2 answers
You're on Ubuntu, right? "Try apt-get install rpm python pirut"
Sorry, I just read your message again. yum install curl? It's a CentOS package.