command to show all the virtual env in python code example Example 1: list all virtualenv in python $ lsvirtualenv -l Example 2: list virtualenvs ubuntu $ lsvirtualenv -b