Fix 'pip externally managed environment' Error in Python 3.12 - Resolving Package Conflicts in Pipenv Environments-Fix 'Port Already Allocated' Error in Docker Compose on Mac

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