I have a conda virtual environment with several unused packages installed inside it (either using pip install or conda install).
pip install
conda install
What is the easiest way to clean it up so that only packages that are actually used by my code remain, and the others are uninstalled?
conda clean --yes --all
will sanitize everything. But take note: if you ever want to do any type of --offline operations, don't use --all; be more selective.
--offline
--all
2.1m questions
2.1m answers
60 comments
56.8k users