Fix Externally Managed Error: Create Virtual Environment - Dealing with pip's Externally Managed Environment Warning-Git Lock File Exists: Troubleshooting Guide

Result check
- Keep one change per test run so you know which step helped.
- Undo temporary changes after the issue is confirmed.