Traceback (most recent call last):
File “dgl_batch_c.py”, line 2, in
import dgl.sparse as dglsp
File “/home/lixintao/anaconda3/envs/dgl/lib/python3.8/site-packages/dgl/sparse/init.py”, line 43, in
load_dgl_sparse()
File “/home/lixintao/anaconda3/envs/dgl/lib/python3.8/site-packages/dgl/sparse/init.py”, line 40, in load_dgl_sparse
raise ImportError(“Cannot load DGL C++ sparse library”)
ImportError: Cannot load DGL C++ sparse library
dgl version:1.1.0+cu102
torch version:1.12.1+cu102
cuda version:11.1
I want to run HGNN using dgl.sparse,I have intsalled all the packages ,but when I run the code ,an issue above occured,can anyone tell me how to solve it?