Is your script also hanging, if you use Python directly or just if you call it in C++ using the bindings?
Just out of curiosity, what’s your use case that you want to call Python from C++ instead of directly loading the model in C++?