-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
update dgl to cuda 12.4 pytorch 2.4.x got error "FileNotFoundError: Cannot find DGL C++ sparse library at /opt/conda/envs/torch124/lib/python3.11/site-packages/dgl/dgl_sparse/libdgl_sparse_pytorch_2.4.0.post301.so" #7791
Comments
hey! i have the same problem. i'm working on a windows machine in colab in python 3.10. i have relatively no issues installing it: Installing collected packages: torchdata, dgl but when i execute the code i get this: FileNotFoundError Traceback (most recent call last) 6 frames FileNotFoundError: Cannot find DGL C++ graphbolt library at /usr/local/lib/python3.10/dist-packages/dgl/graphbolt/libgraphbolt_pytorch_2.4.0.so |
I think something is wrong with pip wheels provided for this project. I am getting the same error, where the I only got the Conda installation to work but this is quite frustrating when you're working in a Docker container, to not be able to install this via vanilla |
In the dgl_linux_libs = 'build/libdgl.so, build/runUnitTests, python/dgl/_ffi/_cy3/core.cpython-*-x86_64-linux-gnu.so, build/tensoradapter/pytorch/*.so, build/dgl_sparse/*.so, build/graphbolt/*.so' I suspect then something is broken with graphbolt libs, perhaps only those for older versions of PyTorch are built when the workflow is triggered. Here are those that I have found in the installed
|
the issue is from |
how you solve this? I met the same issue. |
This issue has been automatically marked as stale due to lack of activity. It will be closed if no further activity occurs. Thank you |
🐛 Bug
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Environment
conda
,pip
, source):Additional context
update dgl to cuda 12.4 pytorch 2.4.x got error "FileNotFoundError: Cannot find DGL C++ sparse library at /opt/conda/envs/torch124/lib/python3.11/site-packages/dgl/dgl_sparse/libdgl_sparse_pytorch_2.4.0.post301.so"
The text was updated successfully, but these errors were encountered: