use script to activate virtual environment windows code example
Example 1: activate virtual environment on windows
venv\Scripts\activate.bat
Example 2: activate virtual environment in windows
.\env\Scripts\\activate.bat
venv\Scripts\activate.bat
.\env\Scripts\\activate.bat