在搜索栏中搜索windows powershell,并以管理员身份打开,然后输入以下指令: 1、get executionPolicy 2、 set-ExecutionPolicy RemoteSigned