gpt4 book ai didi

python - Conda 占用太多磁盘空间

转载 作者:太空宇宙 更新时间:2023-11-04 00:19:42 24 4
gpt4 key购买 nike

似乎 conda 更新没有清理。我有超过 4 个未使用的旧包。我经常这样做

conda update --all 

每周一次。显然,你必须这样做:

conda clean -p

清理并删除旧包。是否有在一行中进行更新和清理的命令?

最佳答案

要在 Windows 上运行单行程序:

conda update --all & conda clean -p

在 Linux 上(注意双 amperstand,因为只有一个会以相反的顺序运行语句):

conda update --all && conda clean -p

此外,如果您想在 Windows 上使用别名,this post描述得很好。在 Linux 上,它可能会因发行版而(略有)不同,here is for Ubuntu

关于python - Conda 占用太多磁盘空间,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/49668760/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com