Skip to content

Remove a package with its dependencies that are not required by other packages #5823

@DarkSuniuM

Description

@DarkSuniuM

What's the problem this feature will solve?
Uninstall a package with its dependencies that are not required by any other package

Describe the solution you'd like
A flag like --remove-dependencies that user can use with pip uninstall <package_name>

For example, I wrongly installed a package (Virtualenv or SystemGlobal) and then I realized I don't need that, Only footage I can see is the log of installation that says which packages are installed after I ran pip install jupyter, There is no way to remove the package and its dependencies!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions