解决方法: 以管理员的身份运行powershell程序输入Set-ExecutionPolicy -ExecutionPolicy RemoteSigned选择A重启进入VSCODE,打开一个新的终端即可