4

I've been looking around for the equivalent of brew cleanup or npm prune for pip (the package manager for python users), but ain't able to find one.

cleanup and prune have done me a huge favor of detecting and removing extraneous and outdated packages on Mac, and the closest I get so far for pip is pip list --outdated --not-required, which only indicates the outdated and no-longer-required packages.

Does such function exist for pip? or has it already been built in some subcommands of pip? If not, can anyone point me to any third-party script that does this?

bfontaine
  • 18,169
  • 13
  • 73
  • 107
Hank Chan
  • 1,706
  • 1
  • 16
  • 21
  • 3
    `brew cleanup` removes old versions of packages. Python doesn't allow more than one version of a package to be installed, so what would `pip cleanup` do? – Blender Mar 12 '18 at 05:44
  • https://stackoverflow.com/a/31807659/499581 – l'L'l Mar 12 '18 at 05:46

0 Answers0