MacOS sublime text 3 Conda 无法激活环境

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
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值