check all virtual environments code example Example 1: how to check the existing virtual environments lsvirtualenv -l Example 2: list all virtualenv in python $ lsvirtualenv -b