FAQ
Hi all,

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

I am getting the following error:

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

I am using Solaris 9 and the Python package from Sunfreeware.com.

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

#!/usr/local/bin/python2.2
from sys import exit

def main():
try:
import rpm
except ImportError:
print "FAIL"
exit(-1)
print "SUCCESS"
exit(0)

if __name__ == "__main__":
main()

Thanks for any help in advance.

Wicked

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 1 of 1 | next ›
Discussion Overview
grouppython-list @
categoriespython
postedAug 14, '03 at 1:18p
activeAug 14, '03 at 1:18p
posts1
users1
websitepython.org

1 user in discussion

Wicked: 1 post

People

Translate

site design / logo © 2022 Grokbase