set up virtual environment python windows gfg code example Example: activate virtual environment python windows 10 cd C: Path to virtual environment> .\activate