我真的不知道该怎么办。 有人可以帮忙吗? 它在 vscode 上
最佳答案
这是因为找不到.exe
可执行文件,您可以通过以下设置修复它:
- 如果您使用
cmd.exe
执行脚本,请使用:
"terminal.integrated.shell.windows": "C:\\Windows\\System32\\cmd.exe"
- 如果您使用
PowerShell.exe
执行脚本,请使用:
"terminal.integrated.shell.windows": "C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe"
更多信息您还可以引用:Terminal.integrated.shell.windows .
关于python - 终端进程启动失败: Path to shell executable "C:\Windows\System32" is not a file of a symlink,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/64007072/