I used Pyinstaller to created a Django application Executable "testrun" on Linux.
Then I used the command dist/testrun/testrun runserver: localserver:8000 to test the executable. But the error message shows:
RuntimeError: Script runserver not found
Spec file hiddenimport used for executable building
Executable Runtime Error Message
add --noreload in the end, it will solve this issue without downgrading django
dist/testrun/testrun runserver --noreload
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With