我无法正确配置conda环境
在运行下面的命令之前,我做了一些activate
deactivate
操作,但是为什么命令conda info -e
下面的两个输出不同?怀疑我的OSX平台中是否混合了某些配置。
异常输出:
$ conda info -e
# conda environments:
#
/Users/sonictl/anaconda
env_twint /Users/sonictl/anaconda/envs/env_twint
py2env_conda /Users/sonictl/anaconda/envs/py2env_conda
base * /Users/sonictl/anaconda/envs/py3env_conda
$ conda config --show envs_dirs
envs_dirs:
- /Users/sonictl/anaconda/envs
- /Users/sonictl/anaconda/envs/py3env_conda/envs
- /Users/sonictl/.conda/envs
但是当我打开一个新终端时:
正常输出:
$ conda info -e
# conda environments:
#
base * /Users/sonictl/anaconda
env_twint /Users/sonictl/anaconda/envs/env_twint
py2env_conda /Users/sonictl/anaconda/envs/py2env_conda
py3env_conda /Users/sonictl/anaconda/envs/py3env_conda
$ conda config --show envs_dirs
envs_dirs:
- /Users/sonictl/anaconda/envs
- /Users/sonictl/.conda/envs
非常感谢!