Try to import ConfigParser for backwards compatibility in case of ImportError