How to create a standalone dash app

Hi, i was able to create a standalone dash app on mac OS and it runs perfectly with cx_Freeze however when i repeat the process on a widows it gives me an error during runtime: “AttributeError: ‘NoneType’ object has no attribute write”, is there any way to solve this issue or another way of freezing the application? i have tried py2exe and PyInstaller with no luck, any help would be appreciated, thanks in advance.

EDIT: so i figured out that the issue was because my base was set to Win32GUI instead of none, although that works, I would like a way where the CMD does not open on startup is there a way to do that without getting that ‘write’ attribute error?

Can you please elaborate on the Win32GUI fix? Thanks!

Found it here:

Hi Can you share you app that you changed into a standalone app using cx_freeze?