dmlc / dgl

Python package built to ease deep learning on graph, on top of existing DL frameworks.
http://dgl.ai
Apache License 2.0
13.47k stars 3.01k forks source link

dgl.dll can not find #6753

Open lei324 opened 10 months ago

lei324 commented 10 months ago

❓ Questions and Help

import dgl

File "E:\Miniconda\envs\pytorch\lib\site-packages\dgl__init.py", line 14, in from .backend import backend_name, load_backend # usort: skip File "E:\Miniconda\envs\pytorch\lib\site-packages\dgl\backend__init__.py", line 122, in load_backend(get_preferred_backend()) File "E:\Miniconda\envs\pytorch\lib\site-packages\dgl\backend\init.py", line 51, in load_backend from .._ffi.base import load_tensor_adapter # imports DGL C library File "E:\Miniconda\envs\pytorch\lib\site-packages\dgl_ffi\base.py", line 50, in _LIB, _LIB_NAME, _DIR_NAME = _load_lib() File "E:\Miniconda\envs\pytorch\lib\site-packages\dgl_ffi\base.py", line 39, in _load_lib lib = ctypes.CDLL(lib_path[0]) File "E:\Miniconda\envs\pytorch\lib\ctypes\init.py", line 374, in init__ self._handle = _dlopen(self._name, mode) FileNotFoundError: Could not find module 'E:\Miniconda\envs\pytorch\lib\site-packages\dgl\dgl.dll' (or one of its dependencies). Try using the full path with constructor syntax.

Before proceeding, please note that we recommend using our discussion forum (https://discuss.dgl.ai) for general questions. As a result, this issue will likely be CLOSED shortly.

rudongyu commented 9 months ago

Could you please add the following environment information?

We recommend to install dgl as introduced in this page: https://www.dgl.ai/pages/start.html

github-actions[bot] commented 8 months ago

This issue has been automatically marked as stale due to lack of activity. It will be closed if no further activity occurs. Thank you