Here is the code that reproduces the error on my machine:
import numpy as np import xgboost as xgb import dask.array as da import dask.distributed from dask_c