Skip to content

ModuleNotFoundError: No module named 'pyarrow._cuda' when running rapids-colab.ipynb [BUG] #348

@gianlumessi

Description

@gianlumessi

Describe the bug
When running the rapids-colab.ipynb as is (found here: https://colab.research.google.com/drive/1rY7Ln6rEE1pOlfSHCYOVaqt8OvDO35J0#forceEdit=true&offline=true&sandboxMode=true), I get: ModuleNotFoundError: No module named 'pyarrow._cuda'. The code error arises when doing: import cudf and import cuml (last cells in the notebook)

Steps/Code to reproduce bug
I am running the "rapids-colab.ipynb" notebook as is in Colab

Expected behavior
Successfully importing cuml and cudf packages.

Environment details (please complete the following information):

  • Environment location: /usr/local
  • Method of RAPIDS libraries install: !python rapidsai-csp-utils/colab/install_rapids.py stable
  • NVIDIA-SMI 460.32.03, Driver Version: 460.32.03, CUDA Version: 11.2

Additional context
Error log

ModuleNotFoundError Traceback (most recent call last)
in ()
----> 1 import cudf
2 import io, requests
3
4 # download CSV file from GitHub
5 url="https://github.com/plotly/datasets/raw/master/tips.csv"

2 frames
/usr/local/lib/python3.7/site-packages/cudf/_lib/init.py in ()
2 import numpy as np
3
----> 4 from . import (
5 avro,
6 binaryop,

cudf/_lib/gpuarrow.pyx in init cudf._lib.gpuarrow()

ModuleNotFoundError: No module named 'pyarrow._cuda'

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions