Skip to content
This repository has been archived by the owner on Oct 22, 2023. It is now read-only.

Error loading ASGI app. Could not import module "rest_api" #26

Closed
jairodriguez opened this issue Apr 20, 2023 · 2 comments
Closed

Error loading ASGI app. Could not import module "rest_api" #26

jairodriguez opened this issue Apr 20, 2023 · 2 comments

Comments

@jairodriguez
Copy link

Any idea why I am getting this error?

Any help is greatly appreciated.

@shahrukhx01
Copy link
Contributor

shahrukhx01 commented Apr 21, 2023

Could you please specify the path at which you run the uvicorn command? It needs to be run in the directory where rest_api.py is located.

@ogoldberg
Copy link

agreed that this seems like you are perhaps in the wrong directory.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants