python 3 make venv code example Example 1: how to create a python venv python3 -m venv tutorial-env Example 2: create a virtualenv python3 py -m venv env