这里写自定义目录标题
- [1 安装anaconda和vscode](#1 安装anaconda和vscode)
- [2 Create an Anaconda Environment](#2 Create an Anaconda Environment)
- [3 select Python Interpreter](#3 select Python Interpreter)
- [4 Workspace](#4 Workspace)
- [5 Open Workspace With File](#5 Open Workspace With File)
- [6 开发文件夹加入workspace](#6 开发文件夹加入workspace)
- [7 美化](#7 美化)
1 安装anaconda和vscode
标配。
2 Create an Anaconda Environment
bash
conda create --name ai312 python=3.12
conda env list
conda activate ai312
3 select Python Interpreter
用F1键。选择./anaconda/envs/ai312/python/bin。
4 Workspace
VSCode, File - Save Workspace As - ai312
打开ai312.code-workspace,编辑如下:
bash
{
"folders": []
"settings": {
"python.pythonPath": "D:\\anaconda\\envs\\ai312\\python.exe",
// Add other project-specific settings
},
}
关闭workspace,关闭VSCode。重新打开VSCode。
5 Open Workspace With File
打开ai312.code-workspace。进入workspace
6 开发文件夹加入workspace
File - Add Folder to Workspace
7 美化
安装extension, Material Icon Theme