create python2.7 virtualenv code example Example 1: how to check the existing virtual environments lsvirtualenv -l Example 2: python virtual env $ pip install --user pipenv