I am using Anaconda. I first switched to Python2 (Version 2.7.11).
python -V Python 2.7.11 :: Continuum Analytics, Inc.
I used the followin
I had the same error. I completely uninstalled xgboost by pip unistall. then installed it back by:
conda install -c bioconda xgboost=0.6a2
This seems to solve the problem