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