是因为pyinstaller打包时图片的格式不对 应该为.ico格式
参考:
https://blog.csdn.net/sinat_36188088/article/details/103119807