I was trying to install some libraries in a virtual environment. By accident, I installed these libraries in the base environment instead of the targeted environment. Are there any ways to cleanup the environment in the base environment?
Asked
Active
Viewed 1,362 times
0
-
1This question is a duplicate of https://stackoverflow.com/questions/41914139/how-to-reset-anaconda-root-environment – William D. Irons Feb 06 '21 at 23:46
-
I agree with with the duplicate proposal, but more specifically for a recent rollback, look at `conda list --revisions`, then pick the most recent one before when you did the unintended install. – merv Feb 07 '21 at 07:14
1 Answers
1
There's not a slick and safe one-liner to do this. You can uninstall things one-by-one, but that is tedious and risks accidentally uninstalling something you need. Having extra stuff installed in your base environment shouldn't be much of a problem; it's fine to just leave stuff there.

Matt Thompson
- 641
- 3
- 14