由于vscode中的集成终端使用的是powershell,所以我们要设置一下powershell的执行权限。
进入C:\Windows\System32\WindowsPowerShell\v1.0目录
管理员身份 运行 powershell.exe
输入 : set-ExecutionPolicy RemoteSigned
确认更改 再输入--: y
由于vscode中的集成终端使用的是powershell,所以我们要设置一下powershell的执行权限。
进入C:\Windows\System32\WindowsPowerShell\v1.0目录
管理员身份 运行 powershell.exe
输入 : set-ExecutionPolicy RemoteSigned
确认更改 再输入--: y