Fix pip Error: Externally Managed Environment - Resolving Python Latin-1 Encoding Errors-Docker Container Exits Immediately: 'Command Not Found' Fix

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