Fix 'pip externally managed environment' Error on Python 3.11 - How to Fix 'Port Already Allocated' in Docker Compose-Fix pip Externally Managed Environment Error on Linux

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