【问题标题】:ERROR: Could not find a version that satisfies the requirement dask-cudf (from versions: none)错误:找不到满足 dask-cudf 要求的版本(来自版本:无)
【发布时间】:2021-02-11 01:23:43
【问题描述】:

描述错误

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

我尝试过的解决方案

【问题讨论】:

    标签: python python-3.x gpu dask rapids


    【解决方案1】:

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

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

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

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

    【讨论】:

    • Rapids install:pip install rapidsai 我还以为是老版本,现在可能不支持了
    猜你喜欢
    • 2020-07-24
    • 1970-01-01
    • 2023-03-20
    • 2020-09-24
    • 2020-12-05
    • 1970-01-01
    • 1970-01-01
    • 2022-10-23
    • 1970-01-01
    相关资源
    最近更新 更多