installing pip on venv code example Example 1: install virtualenv Python pip install virtualenv Example 2: install virtualenv Python cd my_project