Third party library behaves differently in unreal

I put it at the buttom, but it’s relatively difficult to see as it imports a relatively large python library