Skip to content
This repository was archived by the owner on Jul 28, 2025. It is now read-only.
This repository was archived by the owner on Jul 28, 2025. It is now read-only.

[BUG]: conda devcontainers build failing: "No module named 'libcudf'" #1455

@jameslamb

Description

@jameslamb

Version

24.10

On which installation method(s) does this occur?

No response

Describe the issue

See #1454 (comment).

Since #1450 was merged, conda devcontainers build (but not pip devcontainers) here have been failing like this at the step where they build cuproj:

      File "/home/coder/cuspatial/python/libcuspatial/libcuspatial/__init__.py", line 16, in <module>
  
        from libcuspatial.load import load_library
  
      File "/home/coder/cuspatial/python/libcuspatial/libcuspatial/load.py", line 19, in <module>
  
        import libcudf
  
    ModuleNotFoundError: No module named 'libcudf'
  
    error: subprocess-exited-with-error
    
    × Building editable for cuproj-cu12 (pyproject.toml) did not run successfully.
    │ exit code: 1
    ╰─> See above for output.
    
    note: This error originates from a subprocess, and is likely not a problem with pip.
  
    full command: /home/coder/.conda/envs/rapids/bin/python /home/coder/.conda/envs/rapids/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py build_editable /tmp/tmp3owulgd3
    cwd: /home/coder/cuspatial/python/cuproj
    Building editable for cuproj-cu12 (pyproject.toml): finished with status 'error'
  
    ERROR: Failed building editable for cuproj-cu12
  
  Failed to build cuproj-cu12

(build link)

Minimum reproducible example

No response

Relevant log output

No response

Environment details

No response

Other/Misc.

After rapidsai/devcontainers#387 was merged, I re-ran the pip, but not conda devcontainers jobs on #1450.

That might explain how this wasn't caught in CI before.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions