sudo flask run code example Example 1: flask activ environment . venv/bin/activate Example 2: flask activ environment py -3 -m venv venv