check work virtual environments code example Example 1: how to check the existing virtual environments lsvirtualenv -l Example 2: python virtual env $ source venv/bin/activate