方法一:

在你打包的命令行中先输入chcp 65001 然后再输入打包命令。

chcp 65001

方法二:

将python包目录下\PyInstaller\compat.py文件中

out = out.decode(encoding)

修改为:

out = out.decode(encoding, errors='ignore')

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-06-10
  • 2022-12-23
  • 2021-08-03
  • 2022-01-07
  • 2021-08-28
猜你喜欢
  • 2021-10-29
  • 2021-12-02
  • 2021-11-30
  • 2022-12-23
  • 2021-11-16
  • 2022-12-23
  • 2021-09-03
相关资源
相似解决方案