Fixing pip Externally-Managed Environment Errors - Fix ERR_NAME_NOT_RESOLVED Caused by Antivirus Block-Fixing 'git rebase index.lock file exists' Error

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