Fix pip Externally Managed Environment Error on Linux - Resolving Edge Sync Permission Denied-Git Merge Conflict: How to Keep Both Versions of a File

Result check
- Keep one change per test run so you know which step helped.
- Undo temporary changes after the issue is confirmed.