viv/bin/activate python code example Example 1: python virtual env $ pip install virtualenv Example 2: how to check the existing virtual environments lsvirtualenv -l