I have been attempting to run powershell as my terminal on windows in pycharm, so I did the following:
Set-ExecutionPolicy Unrestricted -Scope CurrentUser