解决方式: 1.管理员方式启动vscode 2、输入get-ExecutionPolicy 查看是否为restricted 如果是 输入set-ExecutionPolicy RemoteSigned 再查看版本即可