我修改了在菜单“File”-“Settings”-“Tools”-“Terminal”中的“Application Settings”中的"Shell path",填写为“C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe”
也设置了系统变量,在此电脑-系统-高级系统设置-环境变量-Path里添加“ C:\Windows\System3pndowsPowerShell\v1.0\”
最后不知道是哪步起了作用,因为需要重启才能见效。最后终端可以输入了