Flask app into an EXE using PyInstaller + Inno Setup.
Posted by Immediate_Pop3467@reddit | learnprogramming | View on Reddit | 3 comments
Hi,
I built my Flask app into an EXE using PyInstaller + Inno Setup.
It works perfectly on my computer, but the generated installer/EXE does not work on other Windows machines.
I think the issue is missing dependencies or C++ runtime libraries.
I need help to package the app in a way that makes it run on any Windows (7, 10, 11) without requiring Python or extra installations.
Thanks
Kazcandra@reddit
Usually, we run our python servers with Docker/kubernetes, so we "package" the server by making Dockerfile.
If you *absolutely must* have a exe file, I'd recommend https://github.com/indygreg/PyOxidizer over pyinstaller.
Or write it in another language.
ElsartjCrocus@reddit
Thananks for the PyOxidizer tip!
Immediate_Pop3467@reddit (OP)
ill try it thanks