MacOS or Windows 打开 cursor,按下快捷键 Command + Shift + P(MacOS),Control + Shift + P (Windows) ;这个时候会弹出一个检索框,输入 Python: Select Interpreter; 检索到之后点击 Python: Select Interpreter ,便可看到所有已创建的conda环境列表,根据项目运行所需的环境进行选择即可。