Fatal error in launcher: Unable to create process using "Path","Path" The system cannot find the file specified while using Uvicorn --reload

It's my first time with FastAPI and i'm trying to run my application, I used Uvicorn book:app --reload and my virtual environment is activated but I found this Error

Fatal error in launcher: Unable to create process using '"S:\Fastapi\fastapienv\Scripts\python.exe" "S:\Fastapi\FastAPI\fastapienv\Scripts\uvicorn.exe" books:app --reload': The system cannot find the file specified.

here is screenshot shows the same architecture of files that instructor use and virtual environment activated

I tried to change the parent directory name from "FastAPI" to "fastAPI" and it works now

Back to Top