Fix 'pip externally managed environment' Error on Python 3.11 - How to Fix Git index.lock File Exists Error-Linux npm ENOENT: Resolving package.json Not Found

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