Remove Unused Pip Dependencies
This article provides a detailed explanation on how to use pip-autoremove in Python. It discusses the process of removing unused package dependencies that were installed via pip, while highlighting the importance of exercising caution as these dependencies may still be utilized by other packages or your own code.
sometimes we install a single package which brings about tons of dependencies in python, pip-autoremove
comes in handy.
install it by pip3 install pip-autoremove
though be careful these dependencies might not be used in other existing packages, they are sometimes still being used in your code!