首页 > 解决方案 > 为什么我的 pyinstaller 显示:'utf-8' 编解码器无法在位置解码字节 0xce

问题描述

我正在尝试选择我.py.exe使用pyinstaller,但有些事情发生了。像这样,

> 'utf-8' codec can't decode byte 0xce in position 121: invalid
> continuation byte These are the bytes around the offending byte:

 File "c:\users\demo\anaconda3\lib\site-packages\PyInstaller\compat.py",

第 580 行,在 exec_python 返回 exec_command(*cmdargs, **kwargs) 文件“c:\users\demo\anaconda3\lib\site-packages\PyInstaller\compat.py”,第 370 行,在 exec_command out = out.decode( encoding) UnicodeDecodeError: 'utf-8' codec can't decode byte 0xce in position 121: invalid continuation byte

标签: pythondecode

解决方案


推荐阅读