Fix pip Externally Managed Environment Errors - Pip Externally Managed Environment: What It Means and How to Fix-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.