Fix 'pip externally managed environment' Error in Python 3.12 - Pip Externally Managed Error: Setup Python venv Correctly-PowerShell Venv Activation Not Working

Likely symptom
Likely cause
Safe rollback
Verification route
- Repeat the original action, not only a simplified test case.
- Restart the app or reload the service after configuration changes.