Skip to content

FastAPI setup guide

wmo edited this page Oct 17, 2024 · 1 revision

FastAPI Setup Guide

Requirements

  • Python 3.7 or higher (latest version recommended)
  • pip (Python package installer)

Python Installation

For Windows

  1. Download the latest Python installer from the official Python website.
  2. Run the installer, ensuring to check the "Add Python to PATH" option, then click "Install Now."
  3. Once installed, open Command Prompt and verify the installation with:
    python --version
    

For Linux

  • Ubuntu
    sudo apt update && sudo apt install python3 python3-pip
  • Fedora
    sudo dnf update && sudo dnf install python3 python3-pip
    

FastAPI Installation

pip install fastapi uvicorn

Clone this wiki locally