Pyinstaller not working well with ttkbootstrap library

523 Views Asked by At

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:

enter image description here

I'll appreciate any help to solve this error.

0

There are 0 best solutions below