【PyCharm】 : Cannot open Local Terminal Failed to start [powershell.exe] in C:\Users\.......的原因(高效解决)

 1.设置的路径是否出现问题(只是一种可能,有的时候不需修改也可以)

  • File- Settings - Terminal
  • 修改 Shell path powershell.exe 为  C:\Windows\System32\cmd.exe.

【PyCharm】 : Cannot open Local Terminal Failed to start [powershell.exe] in C:\Users\.......的原因(高效解决)_第1张图片

 2.检查电脑环境变量(这里是重点)

  • 此电脑-属性-高级系统设置-环境变量-path检查环境
C:\Windows\system32
C:\Windows
C:\Windows\System32\Wbem
C:\Windows\System32\WindowsPowerShell\v1.0\

3.依旧有问题可参考-链接windows - PyCharm "Can't Open Local Terminal" "Failed to start cmd.exe"? - Stack Overflow

你可能感兴趣的:(pycharm)