Using Powershell as terminal in IntelliJ IDEA IDEs like PyCharm, PHPStorm or RubyMine

后端 未结 11 1391
太阳男子
太阳男子 2020-12-24 01:53

I have been attempting to run powershell as my terminal on windows in pycharm, so I did the following:

\"enter

11条回答
  •  感动是毒
    2020-12-24 02:19

    Browse to the PowerShell executable, right-click, run as administrator.

    From the prompt, use the same command you tried:

    Set-ExecutionPolicy Unrestricted
    

    Once that is done, close PowerShell, and attempt to use it again from your application.

    Note: You can't set the execution policy from a script, as the default execution policy prevents you from running scripts. (even if it's the profile script - still a script)

提交回复
热议问题