【发布时间】:2020-06-09 00:06:20
【问题描述】:
我正在使用 Python 进行开发,并尝试通过在 PyArmor 中键入以下命令来制作安装程序。
pyarmor pack -e " --onedir --noconsole --icon icon.ico -n testApp" main.py
然后我得到以下错误。
ERROR 'utf-8' codec can't decode byte 0x83 in position 594: invalid start byte
我输入并执行python main.py时没有错误。
只有在 PyArmor 运行时才会出现错误。
原因是什么?我该如何解决?
【问题讨论】: