pip install --user pipenv
export PATH="$PATH:/Users/your-user-name/Library/Python/3.9/bin"
or
py -m pip install pipenv
pipenv install fastapi
pipenv install "uvicorn[standard]"
pipenv install pydantic
pipenv install sqlalchemy
pipenv run uvicorn main:app --reload