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
make dev
throws [FileNotFoundError] [Errno 2] No such file or directory
#2
Comments
Hi @fchpr, can you please provide full stacktrace? Thank you! |
Feel free to ask me anything else, and thanks to you for such quick response... |
Can you try if this resolves both your issues (FileNotFoundError originally included in this issue, and the Traceback you added above for NoSuchOptionException).
poetry env remove python # this will delete virtualenv
poetry # this will install all dependencies (again)
cd app # this will navigate to the folder where the FastAPI app is located
poetry run uvicorn main:app --reload # this will run uvicorn with hot reloading |
Now it throws:
It seems an issue related to virtualenv, maybe since I had upgraded the system (now it's running on Python 3.9). |
This seems to be an specific issue related to my system. Worked in other environment. |
Edit: The following command...
poetry -vvv run uvicorn main:app --reload
throws:
And regarding the environment...
poetry env info
throws:The text was updated successfully, but these errors were encountered: