描述错误
当我尝试导入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
- 当我搜索:pip install dask_cudf
- 原始网站不再存在:https://pypi.org/project/dask-cudf/
- 谷歌存储了网站历史记录:https://webcache.googleusercontent.com/search?q=cache:8in7y2jQFQIJ:https://pypi.org/project/dask-cudf/+&cd=1&hl=en&ct=clnk&gl=uk
我正在尝试在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
我尝试过的解决方案
- [已存档] Dask支持分布式GDF对象--> 移至cudf -> 因此我从https://pypi.org/project/cudf/安装
%pip install cudf
- 在指向存档的新 Github 页面上,我只能看到conda安装,这不适用于Google colab - https://github.com/rapidsai/cudf
- Rapids安装:
pip install rapidsai
我认为这是一个旧版本,可能现在不再受支持
pip install rapidsai
我认为这可能是一个旧版本,现在可能不受支持。 - sogu