Has anybody sorted this out? I'm having the exact same issue. My theory is that I'm running on Windows and it looks like Erik was running on Ubuntu. python.exe is crashing and event viewer gives the following information:
Faulting application name: python.exe, version: 3.10.6150.1013, time stamp: 0x62e84c21
Faulting module name: ucrtbase.dll, version: 10.0.22000.1, time stamp: 0x00e78ce9
Exception code: 0xc0000409
Fault offset: 0x000000000007c648
Faulting process id: 0xf624
Faulting application start time: 0x01d8c724e0348c30
Faulting application path: C:\Python310\python.exe
Faulting module path: C:\WINDOWS\System32\ucrtbase.dll
Report Id: c2bcf62a-eb34-41f7-a823-e06f8be51a62
Faulting package full name:
Faulting package-relative application ID: