Hi, I was just trying the new sparse matrix feature and had this error
FileNotFoundError: Cannot find DGL C++ sparse library at /home/usr_name/.local/lib/python3.8/site-packages/dgl/dgl_sparse/libdgl_sparse_pytorch_2.0.0.so.
I saw an earlier question with the same issue and solved by updating PyTorch: https://discuss.dgl.ai/t/filenotfounderror-cannot-find-dgl-c-sparse-library/3507
I tried the same way but didn’t work. I had dgl before and already uninstalled earlier versions.
- DGL Version: 1.0.1, dglg0 0.0.2
- Backend Library & Version: pytorch 2.0.0+cu117
- OS: ubuntu 20.04.4
- How you installed DGL (
pip, source): pip
- Python version: 3.8.10
- CUDA/cuDNN version: Cuda compilation tools, release 11.7