Fix Python Dependency Conflicts After an Update - Resolving 'index.lock File Exists' in Git-Fix 'pip externally managed environment' Permission Denied Error

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