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