(self, auto_confirm=False, verbose=False,
                  use_user_site=False)
return uninstalled_pathset
Uninstall the distribution currently satisfying this requirement.

        Prompts before removing or modifying files unless
        ``auto_confirm`` is True.

        Refuses to delete or modify files outside of ``sys.prefix`` -
        thus uninstallation within a virtual environment can only
        modify that virtual environment, even if the virtualenv is
        linked to global site-packages.
Uninstall the distribution currently satisfying this requirement.
Uninstall the distribution currently satisfying this requirement .
def uninstall(self, auto_confirm=False, verbose=False,
                  use_user_site=False):
        # type: (bool, bool, bool) -> Optional[UninstallPathSet]
        """
        Uninstall the distribution currently satisfying this requirement.

        Prompts before removing or modifying files unless
        ``auto_confirm`` is True.

        Refuses to delete or modify files outside of ``sys.prefix`` -
        thus uninstallation within a virtual environment can only
        modify that virtual environment, even if the virtualenv is
        linked to global site-packages.

        """
        if not self.check_if_exists(use_user_site):
            logger.warning("Skipping %s as it is not installed.", self.name)
            return None
        dist = self.satisfied_by or self.conflicts_with

        uninstalled_pathset = UninstallPathSet.from_dist(dist)
        uninstalled_pathset.remove(auto_confirm, verbose)
        return uninstalled_pathset
def uninstall ( self , auto_confirm = False , verbose = False , use_user_site = False ) : # type: (bool, bool, bool) -> Optional[UninstallPathSet] if not self . check_if_exists ( use_user_site ) : logger . warning ( "Skipping %s as it is not installed." , self . name ) return None dist = self . satisfied_by or self . conflicts_with uninstalled_pathset = UninstallPathSet . from_dist ( dist ) uninstalled_pathset . remove ( auto_confirm , verbose ) return uninstalled_pathset