create environament with python3 code example Example 1: crete venv with pyhton3 virtualenv -p python3 envname Example 2: create new python environment py -m venv env