[Python][VsCode]报错 python:命令“Python:Select:Interpreter“ command ‘python.setInterpreter‘ not found

错误情况:

在使用ctrl+shift+P后使用Python:Select:Interpreter切换解释器出错

报错如下

[Python][VsCode]报错 python:命令“Python:Select:Interpreter“ command ‘python.setInterpreter‘ not found_第1张图片

 解决方案:

在左侧扩展栏目中搜索@workspaceUnsupported 

发现python在限制在受限模式下

[Python][VsCode]报错 python:命令“Python:Select:Interpreter“ command ‘python.setInterpreter‘ not found_第2张图片

 点击蓝圈中选项

 然后选择信任,问题解决

[Python][VsCode]报错 python:命令“Python:Select:Interpreter“ command ‘python.setInterpreter‘ not found_第3张图片

 

 

 

 

你可能感兴趣的:(计算机通信网络,vscode,ide,编辑器)