Anaconda Python: Delete .tar.gz in pkgs

风流意气都作罢 提交于 2020-05-08 08:49:12

问题


Would it be a problem to delete *.tar.gz files in C:\Users\username\AppData\Local\conda\pkgs? I also see subdirectories of Python of the same Python package, but in different versions (e.g., pandas-0.19.2-np111py27_1, pandas-0.19.2-np111py35_1, pandas-0.20.1-np112py27_0, pandas-0.20.1-np112py35_0, pandas-0.20.1-np112py36_0, pandas-0.20.2-np112py27_0, pandas-0.20.2-np112py36_0, pandas-0.20.2-np113py36_0). I currently have two environments (Python 2.7 and 3.6), so I don't want to be wasting storage with different versions of the same package, or for Python versions I'm not currently using (I'm talking GB here!). Is there a proper way of deleting those files/directories (and is there a problem in doing that)?


回答1:


You can run conda clean --tarballs in your terminal.

Reference:

https://conda.io/docs/commands/conda-clean.html



来源:https://stackoverflow.com/questions/44708392/anaconda-python-delete-tar-gz-in-pkgs

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!