用pyinstaller打包py文件为exe文件时产生错误UnicodeDecodeError: 'gbk' codec can't decode byte 0x88 in position 166:

首先找到这个文件,用文本编辑器打开 把1074到1078行改为 if not need_new: with open(filename, encoding='gb18030',errors='ignore') as f: old_xml = f.read() new_xml = manifest.toprettyxml().replace('
相关文章
相关标签/搜索