I think the solution may be in this link, but I haven't understood it.īundling data files with PyInstaller (-onefile) Pyinstaller does not show images and iconīut then again the whole point of -onefile is to have exactly that, not need the image in addition. One solution is to include the image in the folder of the exe as seen in the link below: In the program, I include an image in my plots, and when I run the program alone in its folder, I get the following: IOError: No such file or directory: 'Logo.png' pyinstaller.exe -onefile -icon='Loco.ico program.py I have created an exe file using Pyinstaller.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |