Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Pyintsaller Execuatble RuntimeError: Script runserver not found

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

like image 901
Peter Anonymous Avatar asked Mar 26 '26 04:03

Peter Anonymous


1 Answers

add --noreload in the end, it will solve this issue without downgrading django

dist/testrun/testrun runserver --noreload
like image 96
Paras Avatar answered Mar 27 '26 23:03

Paras



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!