python venv enable code example Example 1: venv python -m venv c:\path\to\myenv Example 2: start python virtual activate venv