KeyboardInterrupt while using --reload on Windows #11617
Answered
by
YuriiMotov
PratikTayshete
asked this question in
Questions
-
First Check
Commit to Help
Example Codefrom fastapi import FastAPI
app = FastAPI()
@app.get("/")
async def root():
return {"message": "Root"} DescriptionRunning the FastAPI application using uvicorn with the The command that I use is as follows:
Operating SystemWindows Operating System DetailsNo response FastAPI Version0.111.0 Pydantic Version2.7.1 Python Version3.9.19 Additional ContextI am using anaconda to create the python environment. The version is |
Beta Was this translation helpful? Give feedback.
Answered by
YuriiMotov
May 21, 2024
Replies: 1 comment 1 reply
-
Hi! |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
PratikTayshete
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi!
There is a known issue in Uvicorn v0.29 (encode/uvicorn#2294).
As a workaround you can downgrade Uvicorn to 0.28.1