当python环境不止一个时,vscode可以选择指定的python解释器,具体为:
vscode设置中打开Command Palette


键入 Python:Select Interpreter

更多推荐

vscode 选择python解释器