VS Code 无法运行 Activate.ps1:先区分 PowerShell 策略与 Python 环境VS Code 的 Activate.ps1 被 PowerShell 策略阻止,直接检查环境解释器,按终端与组策略选择激活方式,临时设置可恢复。Python · VS Code · PowerShell2026.7.13