Fix 'Externally Managed Environment' Error on Linux - VSCode Git Auth Failed: Expired Token Fix-Troubleshooting npm ERR! enoent Missing package.json

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