解决方法: 1.管理员身份打开PowerShell。 开始菜单-右击-Windows PowerShell(管理员) 2.输入 set-ExecutionPolicy RemoteSigned 3.输入Y或者A,即可。