code: def pip_remove(self, name=None, prefix=None, pkgs=None):
          
          logger.debug(str((prefix, pkgs)))
  
          if isinstance(pkgs, (list, tuple)):
              pkg = ' '.join(pkgs)
          else:
              pkg = pkgs
  
          extra_args = ['uninstall', '--yes', pkg]
  
          return self._call_pip(name=name, prefix=prefix, extra_args=extra_args)
docs: Remove a pip package in given environment by `name` or `prefix`.