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