错误:找不到满足dask-cudf要求的版本来自版本:无

问题描述

描述错误

当我尝试import dask_cudf时,出现以下错误


---------------------------------------------------------------------------
ModuleNotFoundError                       Traceback (most recent call last)
<ipython-input-11-afb970ad91bb> in <module>()
      8 from dask_cuda import LocalCUDACluster
      9 import dask_xgboost
---> 10 import dask_cudf
     11 import dask
     12 from xgboost.dask import daskDMatrix

ModuleNotFoundError: No module named 'dask_cudf'

---------------------------------------------------------------------------
NOTE: If your import is failing due to a missing package,you can
manually install dependencies using either !pip or !apt.

To view examples of installing some common dependencies,click the
"Open Examples" button below.
---------------------------------------------------------------------------

我通过pip安装了dask和RAPIDS

我正在尝试使用以下代码在Google Colab窗口中安装它 %pip install dask-cudf

我收到以下错误

ERROR: Could not find a version that satisfies the requirement dask-cudf (from versions: none)
ERROR: No matching distribution found for dask-cudf

在CUDF的github页面上已存档。现在如何将其安装到Google Colab? https://github.com/rapidsai/dask-cudf

我尝试过的解决方

解决方法

RAPIDS不支持pip安装https://medium.com/rapids-ai/rapids-0-7-release-drops-pip-packages-47fc966e9472)。不清楚如何使用pip安装RAPIDS。 RAPIDS(https://pypi.org/project/rapidsai/)的pip安装页面指出应使用conda代替pip来安装RAPIDS。

请使用RAPIDS入门页面(https://rapids.ai/start.html)上提供的选项之一来安装RAPIDS。

您还使用哪个版本的RAPIDS?

由于Google colab不支持python 3.7或更高版本,因此无法在Google colab上安装最新版本的RAPIDS。