Fix 'pip externally managed environment' on Ubuntu 23.04 - Firefox Secure Connection Failed: Step-by-Step Guide-Fix 'Permission Denied' in VS Code Terminal for Node.js

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