How to uninstall all unused packages in a conda virtual environment?

前端 未结 2 480
天涯浪人
天涯浪人 2020-12-24 12:33

I have a conda virtual environment with several unused packages installed inside it (either using pip install or conda install).

What is th

2条回答
  •  醉梦人生
    2020-12-24 13:23

    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.

提交回复
热议问题