add ImportError & encoding='utf-8'