rt,之前windows sublime text+ conda 用的很好,用mac突然发现使用conda无法激活环境,无论在anaconda中添加多少个环境最后只能激活root。
发现问题:Anaconda 安装路径与默认路径不同,
解决办法:
修改Conda.sublime-settings — User 文件到anaconda 安装路径
源文件 (Conda.sublime-settings — Conda):
// Default settings for sublime-text-conda:
{
// executable is the path to anaconda's python
// this python executable is used in order to find conda
"executable": "~/anaconda3/bin/python3",
// Directory in which the conda envs are stored
// Default location is the user's home directory
"environment_directory": "~/anaconda3/envs/",
// configuration is the path to conda's configuration file
"configuration": "~/.condarc"
}
用户自定文件:(修改文件Conda.sublime-settings — User)
// Default se