sublime text3 配置conda環境


sublime text3 配置conda環境

1. 安裝conda插件

ctrl + shift + p 后 輸入 Package Control : Install Package,然后在彈出的輸入框中輸入conda,選擇 conda然后回車安裝,安裝完成會跳出一個介紹界面

2. 修改編譯環境

菜單欄選擇 Tools -> Build System -> Conda

3. 修改Conda環境配置

菜單欄依次選擇Preferences -> Package Settings -> Conda -> Setting-User ,輸入如下配置:

// 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",
"executable": "E:/Anaconda3/python",

// Directory in which the conda envs are stored
// Default location is the user's home directory
//"environment_directory": "~/anaconda3/envs/",
"environment_directory": "E:/Anaconda3/envs/",

// configuration is the path to conda's configuration file
"configuration": "~/.condarc"
}

其中"executable""environment_directory"按自己實際anaconda3安裝路徑配置

4. 激活conda環境

ctrl + shift + p 后輸入conda能看到conda的各種命令,選擇Activate Environment后會出現你已經安裝conda環境,選擇即可激活

若啟動失效,重啟sublime text3即可


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM