Fix 'pip externally managed environment' Error in Python 3.12 - Windows 11 Blue Screen After Update? Try Compatibility Mode-pnpm Lockfile Mismatch Troubleshooting

Result check
- Keep one change per test run so you know which step helped.
- Undo temporary changes after the issue is confirmed.