Fix 'Permission Denied' in VS Code Terminal for Python - How to Solve Python Permission Denied During pip Install-Resolving 'index.lock file exists' in Git on macOS

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