dmlc / dmlc/dgl

ImportError: Cannot load Graphbolt C++ library

Open
#7,450 6 comments 0 reactions 1 assignee Claimed by @Rhett-Ying View on GitHub
stale-issue
Dominant language
Python
Stars
14.3k
Forks
3.1k
PR merge metrics
No merged PRs in 30d

Description

Hi, I have a problem in using the library on my pc in which I have the following configuration

`PyTorch version: 2.3.1+cu121
CUDA version: 12.1`

As indicated in the documentation I have installed the library with the command:

`pip install dgl -f https://data.dgl.ai/wheels/torch-2.3/cu121/repo.html`

but when I launch my script I get this error:

`ImportError: Cannot load Graphbolt C++ library`

I also did tests on Google Colab and in that case no error is generated, so the problems you have with running locally.

What can I do to solve this problem, if I do not want to run in Colab but in local?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.