python - 终端进程启动失败: Path to shell executable "C:\Windows\System32" is not a file of a symlink

标签 python visual-studio-code

enter image description here

我真的不知道该怎么办。 有人可以帮忙吗? 它在 vscode 上

最佳答案

这是因为找不到.exe可执行文件,您可以通过以下设置修复它:

  1. 如果您使用 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/

    相关文章:

    python - 错误: Could not find a version that satisfies the requirement azure-functions

    python - Pandas 和 numpy 线程安全

    python - 如何求自然对数的导数得到 TypeError : can't convert expression to float

    docker - 使用 VSCode 在远程 SSH 主机中打开容器

    c++ - Visual Studio Code : exclude sections of a file from autoformat?

    python - 如何在 Visual Studio 代码的 Python 扩展中选择一个子文件夹作为包含测试的目录

    python - 如何阻止 wkhtmltopdf.exe 弹出?

    python - 有适用于 python 的 Firebase SDK 吗?

    python - 如何通过排除对 Numpy 数组进行子集化

    git - 如何使用 Git 在 Visual Studio Code 中的分支之间切换?