Install virtual env
pip install virtualenv
Creating virtual env
virtualenv venv
Activate virtual env
source venv/bin/activate
From requirements file
pip install -r requirements.txt
Or
pip install fastapi mongomock aiohttp pymongo uvicorn requests
uvicorn app:app --port 8080 --reload