10

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)?

Bruno
  • 1,329
  • 2
  • 15
  • 35

1 Answers1

27

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

Reference:

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

Oluwafemi Sule
  • 36,144
  • 1
  • 56
  • 81