pip-autoremove: Remove a Package and Its Unused Dependencies

When using pip uninstall, you only remove a specific package. Wouldn’t it be nice if you can install that package and its unused dependencies?

That is when pip-autoremove comes in handy.

In the code above, using pip-autoremove removes pandas-profiling and its unused dependencies.

Link to pip-autoremove.

Link to previous tips on some useful tools I found.

Scroll to Top

Work with Khuyen Tran

Work with Khuyen Tran