- This repository based on https://github.com/tresni/pip-autoremove and https://github.com/invl/pip-autoremove . *
Remove a package and its unused dependencies.Supports both Python2 and Python3.
- How to install pip3-autoremove for Python3:
sudo pip3 install python3-pip-autoremove
- How to install pip3-autoremove for Python2:
sudo pip install python3-pip-autoremove
pip3-autoremove packages-to-uninstall
To remove the globally installed package, add "sudo" before the pip3-autoremove command.