By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,383 Members | 2,080 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,383 IT Pros & Developers. It's quick & easy.

ImportError: No module named rpm

P: n/a
Hi all,

Has anyone got Is this a class/module for Python?

I am getting the following error:

File "./extra/scripts/", line 42, in ?
import rpm
ImportError: No module named rpm

I am using Solaris 9 and the Python package from

The following test code produces a "FAIL" on my system.

from sys import exit

def main():
import rpm
except ImportError:
print "FAIL"
print "SUCCESS"

if __name__ == "__main__":

Thanks for any help in advance.


Jul 18 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.