Fix Python Permission Denied When Installing Package via Docker - How to Fix VS Code Permission Denied on Every File-Fix 'pip externally managed environment' on Ubuntu 23.04

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