我正在尝试运行 dask_ml 函数,但系统不接受我的安装并在我导入它时给出错误。操作系统:Linux ubuntu 20。
conda install -c conda-forge dask-ml
进口
#dask
from dask_ml.xgboost import XGBClassifier
错误
---------------------------------------------------------------------------
ModuleNotFoundError Traceback (most recent call last)
<ipython-input-148-885097890294> in <module>
1 #dask
----> 2 from dask_ml.xgboost import XGBClassifier
~/anaconda3/lib/python3.8/site-packages/dask_ml/xgboost.py in <module>
5 ``dask.distributed`` cluster.
6 """
----> 7 from dask_xgboost import * # noqa
ModuleNotFoundError: No module named 'dask_xgboost'
可能的解决方案