macos vscode 配置python虚拟环境 高效码农 5 years ago 一、点击vscode 左下角 设置 二、选择Settings选项: 三、在设置搜索框中填写pythonPath,填入你虚拟环境中的python 四、点击左下角python版本,选择虚拟环境中的python