python flask command to enable venv code example Example 1: install flask pip install flask Example 2: flask activ environment . venv/bin/activate