python install virtualenv windows 10 code example Example: activate virtual environment python windows 10 cd C: Path to virtual environment> .\activate