Issue
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?
Solution
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.
Answered By - Matt Thompson Answer Checked By - Candace Johnson (WPSolving Volunteer)