OMP: Error #15: Initializing libiomp5.dylib, but found libiomp5.dylib already initialized.

直接给解决方法

pip install xgboost

加上代码

import os
os.environ['KMP_DUPLICATE_LIB_OK']='True'
result

你可能感兴趣的:(OMP: Error #15: Initializing libiomp5.dylib, but found libiomp5.dylib already initialized.)