【转载】Pyinstaller打包出现UnicodeDecodeError: 'utf-8' codec can't decode byte 0xce in position 解决方案

版权声明: https://blog.csdn.net/qq_35203425/article/details/80992870

解决方案

在你打包的命令行中先输入chcp 65001 然后再输入打包命令。 
pyinstaller -F xxx.py

此文章为转载,转自版权声明后的网址

猜你喜欢

转载自blog.csdn.net/qq_42063091/article/details/82425233