Fix pip Externally Managed Environment Errors - How to Merge Two Git Repositories with Unrelated Histories-Troubleshooting Nginx 502 Connection Refused

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