admin管理员组文章数量:1425956
In the past, I installed some dependencies to run different GitHub repository projects. Now I found that there are some duplicates and hope to keep only the new version and remove the old ones. Some examples appear in the following screenshot. Can anyone explain how to do it? Thank you!
In the past, I installed some dependencies to run different GitHub repository projects. Now I found that there are some duplicates and hope to keep only the new version and remove the old ones. Some examples appear in the following screenshot. Can anyone explain how to do it? Thank you!
Share Improve this question asked Mar 20 at 13:38 AIIAAIIA 431 silver badge5 bronze badges1 Answer
Reset to default 0Ok, it turns out that the solution is simple.
Several commands can be run in the following order:
Firstly, this command cleans package caches:
conda clean --all
Then, if some environments are no longer needed, these commands can remove them:
conda env list
conda remove --name ENV_NAME --all
Finally, this command can remove unused package files:
conda clean --packages
After running all these commands, unneeded packages will be removed.
本文标签:
版权声明:本文标题:linux - How to removeuninstall old version of PyTorch, mkl, libcublas, etc.? - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1744405956a2604706.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论