How to uninstall python 2 package specifically?

Pankaj Jangid pankaj at codeisgreat.org
Tue Dec 29 13:36:32 EST 2020


Chris Green <cl at isbd.net> writes:

> I have two (or maybe even three) versions of Click installed:-
>
> /usr/local/lib/python2.7/dist-packages/click
> /usr/local/lib/python3.7/dist-packages/click
> /usr/lib/python3/dist-packages/click
>
> I run [x]ubuntu.
>
> How can I uninstall those extra versions of click (which have
> presumably been installed by pip, how would I know?).

For python2 package use pip, for python3 packages use pip3.



More information about the Python-list mailing list