how to specify new environment location for conda create

后端 未结 6 1327
爱一瞬间的悲伤
爱一瞬间的悲伤 2020-12-04 05:33

the default location for packages is .conda folder in my home directory. however, on the server I am using, there is a very strict limit of how much space I can use, which b

6条回答
  •  南笙
    南笙 (楼主)
    2020-12-04 06:13

    While using the --prefix option works, you have to explicitly use it every time you create an environment. If you just want your environments stored somewhere else by default, you can configure it in your .condarc file.

    Please see: https://conda.io/docs/user-guide/configuration/use-condarc.html#specify-environment-directories-envs-dirs

提交回复
热议问题