After struggling for days, I discovered that this is a known issue on Windows specifically for the SageMaker Python SDK.
You can find more details and track the progress of the fix here: resolve infinite loop in _find_config on Windows systems