Issue when trying to use xgboost on Windows

Everytime I try to train or load a model the program crashes with error code -1073740791 (0xC0000409). I tried both methods described on the microsoft forum, but still didn’t solve https://answers.microsoft.com/en-us/windows/forum/all/error-code-0xc0000409/228538ba-75f6-4dd1-a6bb-0d5ed718f3e3