I have a requirement to get input for username and password from the console. For entering the password I am using password=getpass.getpass('Enter password')
I have also given an import getpass in the beginning but on execution my code throws and ImportError : no module named getpass
I even tried to set the pythonpath using export pythonpath=/usr/lib/python2.4/site-packages:/usr/lib/python2.4
Still getting the same error.