CustomTkinter icon indicating copy to clipboard operation
CustomTkinter copied to clipboard

KeyError : 'text'

Open mbcraft-exe opened this issue 2 years ago • 2 comments

Hello, I have compilated a projet with pyinstaler, but when I launch my file (note that customtkinter is installed), I have KeyError : 'text' and I don't understand the meaning of this error... Details of the error on the image below. image_2022-12-23_220313906 image_2022-12-23_220351181

mbcraft-exe avatar Dec 23 '22 21:12 mbcraft-exe

I think you are using an old theme file, the format changed with version 5.0.0.

TomSchimansky avatar Dec 24 '22 13:12 TomSchimansky

@mbcraft-exe Paste the customtkinter folder in the same directory where your python program is present, then also add that folder using additional-file option in pyinstaller.

Akascape avatar Dec 24 '22 16:12 Akascape