How to identify which dependencies cannot be uninstalled?


How to identify which dependencies cannot be uninstalled? Starting Anaconda or activating another environment will pop up the VScode window, causing me to install a bunch of packages in the base environment. Now I leave the packages that are necessary for the base environment and uninstall all others, but I don’t know which ones are necessary for the base environment.