python venv python3 code example Example 1: how to make virtual environment virtualenv mypython Example 2: python virtual env $ pip install --user pipenv