FileNotFoundError: Cannot find DGL C++ sparse library24/3/7


python 3.8.18
dgl 2.0.0
torch 2.2.1+cpu
so why it cannot work?

dgl 2.0.0 does not support torch 2.2.1, please try with DGL 2.1.0.

ok,thanks a lot
now i switch to cuda version.I meet this too.
FileNotFoundError: Cannot find DGL C++ sparse library atC :\Users\xxx\anaconda3\envs\xxx\lib\site-packages\dgl\dgl_sparse\dgl_sparse_pytorch_2.1.0.dll


but it says supporting 2.1
may i need to back to torch 2.0?

Are you using torch 2.1.0 + cu12.1?

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.