Is there any way to check/de-cruft/update Python packages installed using pip?

Chris Green cl at isbd.net
Tue Dec 29 13:21:14 EST 2020


Mats Wichmann <mats at wichmann.us> wrote:
> On 12/29/20 7:48 AM, Chris Green wrote:
> > 
> > If there are any tools/utilities one can install to check these things
> > out I'd love to know about them.
> 
> There are some tools (on pypi naturally) for fiddling with installed 
> packages, but for starters try these two:
> 
> python -m pip help list
> python -m pip help show
> 
> show will list dependencies, among other bits of info.
> 
> For older versions, you to use the matching version of Python
> 
> python2.7 -m pip show click
> 
Ah, of course, run pip using the python version that matches what you
want to remove, obvious really! :-)   Thanks.

-- 
Chris Green
·


More information about the Python-list mailing list