I’m learning to create and manage virtual environments, and when I did pip list
, I noticed that I have the following packages already installed:
Package Version
------------ -------
altgraph 0.17.2
distlib 0.3.8
filelock 3.14.0
future 0.18.2
macholib 1.15.2
pip 24.0
platformdirs 4.2.1
setuptools 58.0.4
six 1.15.0
virtualenv 20.26.1
wheel 0.37.0
I certainly did not install any of them myself, except for virtualenv
and the pip
update. I think they might have installed automatically for some random projects that I downloaded from the github and later deleted. I certainly don’t need them for any of my already existing projects. Is it a good idea to uninstall some of the packages to avoid clutter in my global environment? If so, which ones should I delete and which ones should I keep? Or should I leave as it is to avoid breaking things? I want to keep up with good practices. I’m using MacOS.
I tried looking up which packages should be there by default and my conclusion was that maybe I should keep these ones:
pip 24.0
setuptools 58.0.4
virtualenv 20.26.1
Should I go with uninstalling everything else?
adamsierakowski is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.