clean up pip by removing all unused packages and cache

Viewed 1761

How do I remove all the unused packages in pip?

I'm aware of pip-autoremove somepackage -y for removing a specific package along with its dependencies but I'm looking to clean up all the unused orphan packages.

In conda there is conda clean -a command that is to remove unused packages and caches.

0 Answers
Related