问题描述
描述错误
---------------------------------------------------------------------------
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/
- google存储的网站历史记录: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
我尝试过的解决方案
- [ARCHIVED]对分布式GDF对象的dask支持->移至cudf->因此,我从https://pypi.org/project/cudf/
%pip install cudf
安装了它
- 在新的Github页面上,从那里可以看到我只能看到不适用于Google colab的conda安装-https://github.com/rapidsai/cudf
- Rapids install:
pip install rapidsai
我认为这是一个较旧的版本,现在可能不支持
解决方法
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。