Fix 'pip externally managed environment' Error in Python 3.12 - How to Fix Git Changes Not Detected in VSCode-Nginx Redirect Loop Troubleshooting

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