How to Bypass pip's Externally Managed Environment Error - How to Resolve Docker Port Conflicts-Fix 'pip externally managed environment' Error on Python 3.11

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