位图问题。在给定路径中没有图标的文件
我有一个Python应用程序,在该应用程序中,我使用tkinter在窗口上设置.ICO图标。我默认使用Pyinstaller制作.exe,由于某种原因,该应用程序不会使用.ICO扩展名来拾取图标,我只是将其粘贴到Dist文件夹中,并且一切都有效,但是问题是我使Installer Installer Installer在使用Innosetup和我的笔记本电脑上使用的程序中,它可以工作,但是一旦我在另一台笔记本电脑上安装应用程序并运行它,我再次获得相同的错误,即此路径中没有此类文件。有没有解决此问题的解决方案?也许有人遇到了类似的事情。
I have a Python application where I use tkinter to set an .ico icon on a window. I make an .exe using pyinstaller, by default, for some reason, the application does not pick up the icon with the .ico extension, I just paste it in the dist folder and everything works, but the problem is that I make the installer of this program using InnoSetup and on my laptop it works, but as soon as I install the application on another laptop and run it, I get the same error again that there is no such file in this path. Is there any solution to this problem at all? Maybe someone has come across something similar.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论