install modules in venv code example Example 1: venv python -m venv c:\path\to\myenv Example 2: how to activate venv python python3 -m venv tutorial-env