Fix 'Externally Managed Environment' Error in pip - Fix ERR_NAME_NOT_RESOLVED in Chrome-Resolve Git Fatal Refusing to Merge Unrelated Histories

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