cudf icon indicating copy to clipboard operation
cudf copied to clipboard

[DOC] cudf/source/user_guide/10min.ipynb gives warning on docs build as dask_cudf is missing

Open raybellwaves opened this issue 1 year ago • 2 comments

When the docs build it gives a warning

/home/ubuntu/cudf/docs/cudf/source/user_guide/10min.ipynb: WARNING: Executing notebook failed: CellExecutionError [mystnb.exec] /home/ubuntu/cudf/docs/cudf/source/user_guide/10min.ipynb: WARNING: Notebook exception traceback saved in: /home/ubuntu/cudf/docs/cudf/build/html/reports/user_guide/10min.err.log [mystnb.exec]

and the log is


ModuleNotFoundError Traceback (most recent call last) Cell In[1], line 7 4 import pandas as pd 6 import cudf ----> 7 import dask_cudf

This is related to https://docs.rapids.ai/api/cudf/stable/user_guide/10min/

raybellwaves avatar Jul 11 '24 23:07 raybellwaves

@raybellwaves Following up on this. Did you install dask-cudf before building the documentation? The docs builds require both cudf and dask-cudf to be installed so that the notebooks can be rendered.

However you chose to build/install cudf (devcontainers, from source in a conda environment, etc.), it should be easy to install dask-cudf as it is a pure Python package. Its source is here: https://github.com/rapidsai/cudf/tree/branch-24.10/python/dask_cudf

bdice avatar Aug 13 '24 15:08 bdice

I'm afraid I can't remember. If I get some time i'll look into this again.

raybellwaves avatar Aug 21 '24 01:08 raybellwaves

@raybellwaves did you ever get a chance to look at this again?

vyasr avatar Jan 30 '25 23:01 vyasr

I'm going to close this one for now since it seems likely that the issue was just that dask_cudf wasn't installed, but feel free to reopen if there was more to it than that.

vyasr avatar Aug 01 '25 01:08 vyasr