【问题标题】:pyinstaller struct.error: unpack requires a bytes object of length 16 [closed]pyinstaller struct.error:解包需要长度为 16 的字节对象 [关闭]
【发布时间】:2017-02-08 16:51:31
【问题描述】:

尝试使用 pyinstaller 向我的 exe 添加图标,但出现上述错误!

更多信息请参见:https://github.com/pyinstaller/pyinstaller/issues/2445

感谢任何帮助!

【问题讨论】:

    标签: python windows icons pyinstaller


    【解决方案1】:

    原来我的图标文件不被 pyinstaller 接受。不要从谷歌图片下载您的图标为png,然后将扩展名更改为ico,由于某种原因根本不起作用

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2016-05-07
      • 1970-01-01
      • 2020-05-11
      • 1970-01-01
      • 1970-01-01
      • 2022-10-24
      • 2015-10-11
      • 2021-10-06
      相关资源
      最近更新 更多