FastAPI — NGINX Unit
2021-8-4 · FastAPI. §. To run apps built with the FastAPI web framework using Unit: Install Unit with a Python 3.6+ language module. Create a virtual environment to install FastAPI''s PIP package: $ cd /path/to/app/ $ python3 --version Python 3.Y.Z $ python3 -m venv venv $ source venv /bin/activate $ pip install fastapi $ deactivate. Warning.