fix interpreter.py if readline module is missing