Fix 'pip install externally managed environment' Error - How to Fix pip Externally Managed Error on Linux-Fix npm install Permission Denied in CI/CD Pipelines

Final checklist
- Confirm that the same symptom is gone after a restart or refresh.
- Keep the smallest working change and undo temporary diagnostic settings.