how to create a venv in directory windows python code example Example: python venv python3 -m venv /path/to/new/virtual/environment