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
I was having a similar problem. This fixed it for me.
import os
os.environ['KMP_DUPLICATE_LIB_OK']='True'
from xgboost import XGBClassifier
I had the same issue. The stupid thing is it was working fine, just suddenly decided it wants to go crazy! I tried @PandaRocks's solution. it did not work. I tried restarting stuff. even saw some stuff about a library file removal here.
finally ended up solving it by reinstalling the XGBoost using conda
as explained here:
$ conda install -c conda-forge xgboost