This is my program example.py .... when i trying to execute this code am getting error as shown below.... can u please help anything for proceeding further....
my python version is 2.4
and ctype that i installed is pygame-ctypes-0.09...
#!/usr/bin/env python
import drmaa
def main():
"""Create a drmaa session and exit"""
s=drmaa.Session()
s.initialize()
print 'A session was started successfully'
s.exit()
if __name__=='__main__':
main()
~
[gridmon@g8 DRMAA]$ python example.pyc
Traceback (most recent call last):
File "example.py", line 3, in ?
import drmaa
ImportError: No module named drmaa
[gridmon@g8 DRMAA]$ cd drmaa-0.4b3
[gridmon@g8 drmaa-0.4b3]$ python example.pyc
Traceback (most recent call last):
File "example.py", line 3, in ?
import drmaa
File "/home/gridmon/DRMAA/drmaa-0.4b3/drmaa/__init__.py", line 30, in ?
import ctypes as _ct
ImportError: No module named ctypes
--
Thanks & Regards,
Hari Krishna .M