pip check venv code example Example 1: python virtual env $ source venv/bin/activate Example 2: python virtual env $ pip install --user pipenv