how to activate a virtual environment windows code example
Example 1: create a venv
# Create the virtual environment.
python -m venv venv
# Activate the env.
venv\Scripts\activate.bat
Example 2: activate virtualenv windows
venv\Scripts\activate
Example 3: activate virtual environment python windows 10
cd C: Path to virtual environment> .\activate