-
Hi! I turned my script into an .exe using PyInstaller but it showed an error indicating that there was no 'check.png' on the directory. I solved it adding my own icon, but I wanted to ask where can I find the icons on my computer(I guess I have them already since I downloaded the module using pip). I'm new to GUIs so I appreciate the help! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
@Tarufetti The main reason is that pyinstaller doesn't pack images or non-python files automatically. |
Beta Was this translation helpful? Give feedback.
@Tarufetti
You have to pack the whole
Ctkmessagebox
folder (additional folder) in pyinstaller just like you did with customtkinter folder. You can find it under site-packages directory of python lib, or you can download the source code folder separately from the repo.The main reason is that pyinstaller doesn't pack images or non-python files automatically.