'uvicorn' is not recognized as an internal or external command, operable program or batch file.
See original GitHub issueFirst check
- I used the GitHub search to find a similar issue and didn’t find it.
- I searched the FastAPI documentation, with the integrated search.
- I already searched in Google “How to X in FastAPI” and didn’t find any information.
Description
I have installed uvicorn from py -m pip install uvicorn
, when I run uvicorn I get this error.
'uvicorn' is not recognized as an internal or external command, operable program or batch file.
How can I make it to work, what am I doing wrong?
Could you please help
Additional context
python version 3.7.3
Issue Analytics
- State:
- Created 4 years ago
- Comments:13 (7 by maintainers)
Top Results From Across the Web
The term 'uvicorn' is not recognized as the name of a cmdlet ...
'uvicorn' is not ; as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or...
Read more >Uvicorn
The uvicorn command line tool is the easiest way to run your application. ... for applications to raise an exception on scope types...
Read more >'uvicorn' is not recognized as an internal or external command ...
'uvicorn' is not recognized as an internal or external command, operable program or batch file.
Read more >Fixing Error for Uvicorn Python FastAPI - YouTube
if you are getting this error, skip to the end of this video and your issue will be solved. Happy Coding !WARNING: The...
Read more >The Term 'Uvicorn' Is Not Recognized As The Name ... - ADocLib
The error is caused when Python's executable file is not found in an environment variable as a result of the Python command in...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’d recommend trying this in a virtualenv (or any other dependency manager like poetry or pipenv)
This is how I ask people to setup their projects on my tutorials:
This is a path issue probably. Make sure uvicorn exists in {PYTHON_INSTALLATION_DIR}\Scripts. If it exists, add to your PATH environment variable that directory (https://docs.alfresco.com/4.2/tasks/fot-addpath.html)