Protect against import errors when importing readline for raw_input bug