1.以管理员身份运行power shell2.输入 set-ExecutionPolicy RemoteSigned然后输入A或者Y 回车问题解决(注意需要用管理员打开!)
打开power shell最快就是右键win的徽标,选择 Windows PowerShell(管理员)