I want to do an executable, but ervery time I run the .exe it writes ImportError: No module named \'tkinter\', and all I read on Stackowerflow do not help me !
ImportError: No module named \'tkinter\'
FINALLY WORKED FOR pyinstaller -F --hidden-import=tkinter --hidden-import=tkinter.filedialog prog.py Thanks a lot !!!
pyinstaller -F --hidden-import=tkinter --hidden-import=tkinter.filedialog prog.py