#If the kernel is being killed, you can use this to see what killed the process dmesg -T| grep -E -i -B100 'killed process'
os.environ["KMP_DUPLICATE_LIB_OK"]="TRUE"