Pycharm Change Terminal To Powershell, In Settings > Tools > Terminal, change the Shell path as following: cmd.