run this command in terminal
Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass
check the solution here