If you got this by running the script in Terminal or Powershell, you can fix this Windows permission issue by running
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
If you got this by running the script in Terminal or Powershell, you can fix this Windows permission issue by running
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser