1. 这是Python 2 mimetypes的bug2. 须要将Python2.7\lib\mimetypes.py文件中以下片断注释或删除:try: ctype = ctype.encode(default_encoding) # omit in 3.x!except UnicodeEncodeError: pass