Fix 'pip install externally managed environment' Error - Ubuntu VSCode Terminal Not Opening: Troubleshooting Guide-Git Rebase Error: index.lock File Exists – Solution

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