Fix pip Error: Externally Managed Environment - Resolving Git Merge Conflicts After Cherry-Pick-How to Fix Git Rejected Non Fast Forward

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