how to activate virutal env in cmd windows python code example Example: venv/Scripts/activate.bat for windows pip3 install -U pip virtualenv