Python xgboost: kernel died

前端 未结 2 1077
不知归路
不知归路 2021-02-19 04:40

My Jupyter notebook\'s python kernel keeps dying. I have run all of the following code successfully before. Presently, there are issues. First, I will show you the code chunk th

2条回答
  •  轮回少年
    2021-02-19 04:54

    I was having a similar problem. This fixed it for me.

    import os
    os.environ['KMP_DUPLICATE_LIB_OK']='True'
    from xgboost import XGBClassifier
    

提交回复
热议问题