How to Bypass pip's Externally Managed Environment Error - How to Resolve Windows Defender Error 0x800704ec-Git Merge Unrelated Histories with Conflicts: How to Resolve

Final checklist
- Confirm that the same symptom is gone after a restart or refresh.
- Keep the smallest working change and undo temporary diagnostic settings.