Fix 'pip install externally managed environment' Error - Fix Docker Compose PostgreSQL Port Already in Use-Edge Sync Configuration Checklist: Step-by-Step Guide

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