Conda: Choose where packages are downloaded

孤街浪徒 提交于 2019-12-12 10:33:17

问题


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

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