Fix pip Externally Managed Environment Error with pipx - Docker Nginx 502 Upstream Error Fix-Troubleshooting npm ENOENT: Missing package.json

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