pyinstaller UnicodeDecodeError: 'utf-8' codec

 

pyinstaller UnicodeDecodeError: 'utf-8' codec can't decode byte 0xce in position 139: invalid continuation byte

参考:https://stackoverflow.com/questions/47692960/error-when-using-pyinstaller-unicodedecodeerror-utf-8-codec-cant-decode-byt

将Python\Python37\site-packages\PyInstaller\compat.py

中的

out = out.decode(encoding)

修改为

out = out.decode(encoding, "replace")

 

你可能感兴趣的:(pyinstaller UnicodeDecodeError: 'utf-8' codec)