Closed chongtwo closed 2 years ago
Sorry to hear that! I unfortunately don't have access to any windows computers nor experience with pyinstaller so cant help you with this one then, but hope you can figure it out ...
It is not specific to windows. This happens on linux too.
Sorry to hear that! I unfortunately don't have access to any windows computers nor experience with pyinstaller so cant help you with this one then, but hope you can figure it out ...
I'll take a look in Sunday. Double check to make sure you have latest version of Sanic installed.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If this is incorrect, please respond with an update. Thank you for your contributions.
(additional context added by sanic-openapi maintainer)
pyinstaller is a tool which bundles python and required libraries into an executable which should be able to be run regardless of the system having python installed
the issue below documents a potential problem with using this tool in combination with sanic-openapi
--
225
I've tried your suggestion but it didn't work. The code is as below:
And I packaged the code by PyInstaller (pip install pyinstaller)
Went into the dist directory that is made by the command above and ran the sanic_openapi_test.exe. The error appeared:
Hope you can help me solve this problem. Thanks!