这似乎是MacOS问题。请执行以下操作以解决该问题:
import osos.environ['KMP_DUPLICATE_LIB_OK']='True'
在以下位置找到答案:https :
//github.com/dmlc/xgboost/issues/1715
注意潜在的副作用:
"but that may cause crashes or silently produce incorrect results."

这似乎是MacOS问题。请执行以下操作以解决该问题:
import osos.environ['KMP_DUPLICATE_LIB_OK']='True'
在以下位置找到答案:https :
//github.com/dmlc/xgboost/issues/1715
注意潜在的副作用:
"but that may cause crashes or silently produce incorrect results."