py -m venv env code example Example: activate virtual environment python windows 10 cd C: Path to virtual environment> .\activate