I am using tkinter to make a gui and then converting it to .exe using py2exe.My gui also includes .gif images. Code I am using in setup.py is:
i run the following command from console:
it executes and makes gui.exe but when i run gui.exe from commandline it gives the following error:
Code:
from distutils.core import setup import py2exe setup(console=['gui.py'])
Code:
python setup.py py2exe
Code:
C:\>dist\gui Traceback (most recent call last): File "gui.py", line 226, in <module> File "Tkinter.pyc", line 3282, in __init__ File "Tkinter.pyc", line 3238, in __init__ _tkinter.TclError: couldn't open "ss.gif": no such file or directory
Comment