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