python create enviroment code example Example 1: python createvirtual env python3 -m venv tutorial-env Example 2: create new python environment py -m venv env