I have a simple GUI which I designed with tkinter
& ttkbootstrap
.
Everything works fine when I run the script with my IDE.
Also, The main.exe
file is created successfully with Pyinstaller
by using this command: pyinstaller.exe --onefile main.py
.
Finally I get this Information: 456865 INFO: Building EXE from EXE-00.toc completed successfully.
But when I'm trying to run main.exe
which located in: C:\Users\benja\Desktop\simpleGUI\dist
I get this error:
I'll appreciate any help to solve this error.