Skip to content
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

import error #29

Open
yayamy opened this issue Dec 23, 2024 · 0 comments
Open

import error #29

yayamy opened this issue Dec 23, 2024 · 0 comments

Comments

@yayamy
Copy link

yayamy commented Dec 23, 2024

When I:
import deepchem as dc
from openpom.feat.graph_featurizer import GraphFeaturizer, GraphConvConstants
from openpom.utils.data_utils import get_class_imbalance_ratio, IterativeStratifiedSplitter
from openpom.models.mpnn_pom import MPNNPOMModel
from datetime import datetime

OSError Traceback (most recent call last)
in <cell line: 4>()
2 from openpom.feat.graph_featurizer import GraphFeaturizer, GraphConvConstants
3 from openpom.utils.data_utils import get_class_imbalance_ratio, IterativeStratifiedSplitter
----> 4 from openpom.models.mpnn_pom import MPNNPOMModel
5 from datetime import datetime

/usr/local/lib/python3.10/dist-packages/openpom/models/mpnn_pom.py in
13
14 try:
---> 15 import dgl
16 from dgl import DGLGraph
17 from dgl.nn.pytorch import Set2Set

/usr/local/lib/python3.10/dist-packages/dgl/init.py in
12 # Backend and logging should be imported before other modules.
13 from .logging import enable_verbose_logging # usort: skip
---> 14 from .backend import backend_name, load_backend # usort: skip
15
16 from . import (

/usr/local/lib/python3.10/dist-packages/dgl/backend/init.py in
120
121
--> 122 load_backend(get_preferred_backend())
123
124

/usr/local/lib/python3.10/dist-packages/dgl/backend/init.py in load_backend(mod_name)
49 raise NotImplementedError("Unsupported backend: %s" % mod_name)
50
---> 51 from .._ffi.base import load_tensor_adapter # imports DGL C library
52
53 version = mod.version

/usr/local/lib/python3.10/dist-packages/dgl/_ffi/base.py in
48 version = libinfo.version
49 # library instance of nnvm
---> 50 _LIB, _LIB_NAME, _DIR_NAME = _load_lib()
51
52 # The FFI mode of DGL

/usr/local/lib/python3.10/dist-packages/dgl/_ffi/base.py in _load_lib()
37 """Load libary by searching possible path."""
38 lib_path = libinfo.find_lib_path()
---> 39 lib = ctypes.CDLL(lib_path[0])
40 dirname = os.path.dirname(lib_path[0])
41 basename = os.path.basename(lib_path[0])

/usr/lib/python3.10/ctypes/init.py in init(self, name, mode, handle, use_errno, use_last_error, winmode)
372
373 if handle is None:
--> 374 self._handle = _dlopen(self._name, mode)
375 else:
376 self._handle = handle

OSError: libcudart.so.11.0: cannot open shared object file: No such file or directory

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant