installing python 2.7 on venv code example Example: pip3 venv install python3 -m venv /path/to/new/virtual/environment source <venv>/bin/activate