how to run flask python in windows code example Example 1: flask activ environment . venv/bin/activate Example 2: flask install venv python -3 -m venv venv