pythonpippackage

Uninstalling packages with dependencies with pip


Is there a way to uninstall a package and all their dependencies through pip rather than uninstalling each dependency from my venv one by one? Or erasing my entire pip installs and then reinstalling the packages and dependencies that I want?


Solution

  • you may use pip-autoremove

    this tool can remove package and its dependencies.