标配。
conda create --name ai312 python=3.12
conda env list
conda activate ai312
用F1键。选择./anaconda/envs/ai312/python/bin。
VSCode, File - Save Workspace As - ai312
打开ai312.code-workspace,编辑如下:
{
"folders": []
"settings": {
"python.pythonPath": "D:\\anaconda\\envs\\ai312\\python.exe",
// Add other project-specific settings
},
}
关闭workspace,关闭VSCode。重新打开VSCode。
打开ai312.code-workspace。进入workspace
File - Add Folder to Workspace
安装extension, Material Icon Theme