for demo
MacOS
python3 -m venv .venv
source .venv/bin/activate
Windows
python -m venv .venv
.venv\Scripts\activate.bat
.venv\Scripts\Activate.ps1
Note: deactivate virtual environment
deactivate
python -m pip install --upgrade pip
pip install -r requirements.txt
locust
locust --headless --only-summary