Click here to Skip to main content
15,889,838 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am using pyinstaller, and it works. i do the comand:
pyinstaller --onefile --windowed app.py
and it works, but... it doesnt. I have the app and everything but it doesnt open because I have a number of images that arent in the build.
The script references them like so:
newicon = PhotoImage(file='icons/new_file.gif')

It works in idle if the icon file is in the files root, but how do i add it to the pyinstaller path? what do i do?
Posted
Comments
Xiao Ling 9-Sep-15 5:29am    
Have you tried py2exe?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900