Black Lives Matter. Please consider donating to Black Girls Code today.
https://www.blackgirlscode.com

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: https://cx-freeze.readthedocs.io/en/latest/distutils.html