My script .py work perfectly, but .exe sadly doesn't work. Im running on newest PyInstaller.
I already tried everyting that i can think of here is options that i used:
-w : does't have .exe file
-- onefile -w and -F -w : The specified module could not be found.
--F , --onefile and no option used : Only shows this option for like half a second
CodePudding user response:
Not all python code can be compiled into a .exe.
CodePudding user response:
I was able to work around this issue by importing pywintypes into my script before win32print module.