python3.6 install venv code example Example: pip3 venv install python3 -m venv /path/to/new/virtual/environment source <venv>/bin/activate