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

sog*_*ogu 4 python gpu python-3.x dask rapids

描述错误

当我尝试时,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.
---------------------------------------------------------------------------

Run Code Online (Sandbox Code Playgroud)

我用 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
Run Code Online (Sandbox Code Playgroud)

在 CUDF 的 github 页面上存档。我现在如何将它安装到 google colab? https://github.com/rapidsai/dask-cudf

我尝试过的解决方案

小智 6

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

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

另外,您使用的是哪个版本的 RAPIDS?

由于谷歌colab不支持python 3.7及以上版本,因此谷歌colab无法安装最新版本的RAPIDS。