I have the same problem, have you been able to solve it? I am using Windows 11.
Simply I create a virtualenv with python3.12