Fixing pnpm EINTEGRITY Integrity Check Failures - Fix pip Externally Managed Environment Error on Linux-Fixing git merge unrelated histories errors with conflicts

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