Is it possible to convert "Shiny for python" to executable file using pyinstaller????? #8255
Answered
by
bwoodsend
HotWesley
asked this question in
PyInstaller
-
Because of the project, I need to convert Shiny for Python into an exe executable file. I tried several tests, but I failed. Is this possible? I'm asking you directly because I don't have much data on the Internet. I'd appreciate it if you could answer me. |
Beta Was this translation helpful? Give feedback.
Answered by
bwoodsend
Jan 24, 2024
Replies: 1 comment 5 replies
-
Shiny here being the R Shiny Python equivalent? Given that it's a webserver where the entry point is not your own code, it'll be miserable at best. |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Well
sys.stderr.write(f"Error: {module_path} not found\n")
is a bug in Shiny. It's assuming that a console is available which isn't true for windowed applications. There should be anif sys.stderr is not None
wrapper around that offending line.I use PyQt. I don't particularly like it. It makes more sense than tkinter. It's more Windows-friendly than GTK. I've not really tried any others.