CustomTkinter icon indicating copy to clipboard operation
CustomTkinter copied to clipboard

Pacakaging with Pyinstaller

Open koukii007 opened this issue 3 years ago • 2 comments

Hi thank you for this great module it helped me create a very nice program. But i am having issues packaging my program using pyinstaller an auto-py-to-exe. I keep receiving errors like this one image I used to have an error saying No module found : darkdetect I solved that by following the wiki page . I got rid of the attached error by commenting out the lines importing that module since my program was still working but then it gave me another modult not found error.

AM open to any suggestions thank you

koukii007 avatar Nov 11 '22 11:11 koukii007

Seems like a pyinstaller issue to me, auto-py-to-exe is kind of a frontend for it.

Check here about missing modules.

If you remove darkdetect I imagine you won't have light/dark mode automatic switching so if your theme is set to system it might error out or crash entirely if the system theme changes while the program is running.

Also its having issues finding all required modules likely, it simply moved to the next alphabetical one to throw the same error.

Evolution0 avatar Nov 11 '22 13:11 Evolution0

You are right it's going alphabetically. I will check out the link you sent Thank you

koukii007 avatar Nov 11 '22 15:11 koukii007