激活 Python 虚拟环境报错

平台:Windows 11

报错贴图

file

解决方案

以管理员身份运行 PowerShell,执行 set-executionpolicy remotesigned 命令,输入 Y,回车即可

file