康达配置更改默认环境目录 [英] conda config change default env directory
问题描述
conda create -n EvnName python = 3.6继续在用户主目录中安装我的Env,而不是在Anaconda安装目录/ data / anaconda3 / envs的env目录中
conda create -n EvnName python=3.6 keeps installing my Env in user home instead of the env directory of my Anaconda installation /data/anaconda3/envs
conda信息给我
Current conda install:
platform : linux-64
conda version : 4.3.30
conda is private : False
conda-env version : 4.3.30
conda-build version : not installed
python version : 3.6.1.final.0
requests version : 2.14.2
root environment : /data/anaconda3 (read only)
default environment : /data/anaconda3
envs directories : /data/anaconda3/envs
/home/tlinden/.conda/envs
package cache : /data/anaconda3/pkgs
/home/tlinden/.conda/pkgs
channel URLs : https://repo.continuum.io/pkgs/main/linux-64
https://repo.continuum.io/pkgs/main/noarch
https://repo.continuum.io/pkgs/free/linux-64
https://repo.continuum.io/pkgs/free/noarch
https://repo.continuum.io/pkgs/r/linux-64
https://repo.continuum.io/pkgs/r/noarch
https://repo.continuum.io/pkgs/pro/linux-64
https://repo.continuum.io/pkgs/pro/noarch
config file : /home/tlinden/.condarc
/ home /tlinden/.condarc仅包含:
/home/tlinden/.condarc only contains:
envs_dirs:
- /data/anaconda3/envs
我一直想在/ data / anaconda3 / envs中安装env的原因是因为我们家里的空间非常有限目录
The reason I always want to install the env in /data/anaconda3/envs is because we have very limited space in the home directory
推荐答案
在用户主目录中安装环境的原因是由于/ data / anaconda3 / envs目录的权限,更改新环境后,将其安装在/ data / anaconda3 / envs目录
the reason the environment was installed in the user home was because of the permissions for the /data/anaconda3/envs directory, after changing that new environments install in the /data/anaconda3/envs directory
这篇关于康达配置更改默认环境目录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!