-
-
Notifications
You must be signed in to change notification settings - Fork 775
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Uvicorn can not start FastAPI APP #687
Comments
I think you need to pass the app as a string, rather than directly, as you've passed the workers argument.
|
yes @dhendo is right ! |
Understand - But how can I define the name of the module here`? Uvicorn can not find
|
It'll depend on the file name - if for example it was called |
@dhendo This finally solved my issue - Thanks! |
(Than it quits with System Code 1)
Versions:
Ubuntu 20.04; python 3.8.2
The text was updated successfully, but these errors were encountered: