pingu
pingu

Reputation: 8827

Does uninstalling pip remove all its packages?

If I uninstall pip with

pip uninstall pip

does it remove all installed packages too?

Upvotes: 2

Views: 389

Answers (1)

Amber
Amber

Reputation: 527053

No. pip is a tool that handles downloading packages and installing them to various locations; those locations are not part of pip's own install directories. As such, removing pip has no effect on installed packages.

(Common paths for installing packages include /usr/lib/<pythonversion> or /usr/local/lib/<pythonversion>.)

Upvotes: 3

Related Questions