During handling of the above exception, another exception occurred: Traceback (most recent call last): File "main.py", line 2, in import customtkinter File "", line 1178, in _find_and_load File "", line 1149, in _find_and_load_unlocked File "", line 690, in _load_unlocked File "PyInstaller\loader\pyimod02_importers.py", line 352, in exec_module File "customtkinter\__init__.py", line 10, in File "", line 1178, in _find_and_load File "", line 1149, in _find_and_load_unlocked File "", line 690, in _load_unlocked File "PyInstaller\loader\pyimod02_importers.py", line 352, in exec_module File "customtkinter\windows\__init__.py", line 1, in File "", line 1178, in _find_and_load File "", line 1149, in _find_and_load_unlocked File "", line 690, in _load_unlocked File "PyInstaller\loader\pyimod02_importers.py", line 352, in exec_module File "customtkinter\windows\ctk_tk.py", line 9, in File "", line 1178, in _find_and_load File "", line 1149, in _find_and_load_unlocked File "", line 690, in _load_unlocked File "PyInstaller\loader\pyimod02_importers.py", line 352, in exec_module File "customtkinter\windows\widgets\__init__.py", line 1, in File "", line 1178, in _find_and_load File "", line 1149, in _find_and_load_unlocked File "", line 690, in _load_unlocked File "PyInstaller\loader\pyimod02_importers.py", line 352, in exec_module File "customtkinter\windows\widgets\ctk_button.py", line 6, in File "", line 1178, in _find_and_load File "", line 1149, in _find_and_load_unlocked File "", line 690, in _load_unlocked File "PyInstaller\loader\pyimod02_importers.py", line 352, in exec_module File "customtkinter\windows\widgets\theme\__init__.py", line 7, in FileNotFoundError: [Errno 2] No such file or directory: 'C:\\Users\\Rainchus\\AppData\\Local\\Temp\\_MEI141802\\customtkinter\\assets\\themes\\blue.json' The .json theme file for CustomTkinter could not be found. If packaging with pyinstaller was used, have a look at the wiki: https://github.com/TomSchimansky/CustomTkinter/wiki/Packaging#windows-pyinstaller-auto-py-to-exe [17064] Failed to execute script 'main' due to unhandled exception!