pip3 control python2 environment code example Example: how to use virtual environment python python3 -m pip install --user virtualenv