问题
I don't have enough space in my default conda directory so I want conda packages to be downloaded at a different location. I have a conda environment created and activated at
/different_drive/condaenv
Based on what I found online, I tried editing the .condarc file to have
pkgs_dirs
- /different_drive/pkgs
and edited the permission of the default directory
/home/user/conda/pkgs/
to read-only. However, I just get permission denied errors as conda still tries to download the files to the default directory. Any suggestions on what I can do to change the download location of the packages?
来源:https://stackoverflow.com/questions/53311208/conda-choose-where-packages-are-downloaded