Fixing Python UnicodeDecodeError in Logging Handlers - Resolve pip Externally Managed Environment Error-Git Bash Python Command Missing Solution

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