code: def pip(self, cmd):
          
          pip_bin = self.cmd_path('pip')
          cmd = '{0} {1}'.format(pip_bin, cmd)
          return self._execute(cmd)
docs: Execute some pip function using the virtual environment pip.