Fastapi example Run project Create venv python3 -m venv .venv Active venv . .venv/bin/activate Install requirements pip install -r requirements.txt Run fastapi fastapi run ./src/main.py Save requirements For save of create requirements file pip freeze > requirements.txt