Fix Git Pull Unrelated Histories Error: Step-by-Step - Bypass pip Externally Managed Error with venv-Fix 'Permission Denied' When Activating Python venv

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