dgl: Import error from installation from source
🐛 Bug
To Reproduce
Steps to reproduce the behavior:
- Built master branch (cd2cf60) from source https://docs.dgl.ai/en/0.6.x/install/
import dglin python shell- got import error message :
[GCC 7.3.0] :: Anaconda, Inc. on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import dgl
[23:48:28] /home/tiger/usr_name/dgl/src/runtime/tensordispatch.cc:43: TensorDispatcher: dlopen failed: /home/tiger/anaconda3/envs/usr_name/lib/python3.8/site-packages/dgl-0.8-py3.8-linux-x86_64.egg/dgl/tensoradapter/pytorch/libtensoradapter_pytorch_1.9.0.so: cannot open shared object file: No such file or directory
Using backend: pytorch
>>>
Environment
- DGL Version (e.g., 1.0): 0.8
- Backend Library & Version (e.g., PyTorch 0.4.1, MXNet/Gluon 1.3): PyTorch 1.9.0
- OS (e.g., Linux): Debian
- How you installed DGL: source
- Build command you used (if compiling from source):
git clone --recurse-submodules https://github.com/dmlc/dgl.git
sudo apt-get update
sudo apt-get install -y build-essential python3-dev make cmake
cd dgl
mkdir build
cd build
cmake ..
make -j4
- Python version: 3.8.5
- CUDA/cuDNN version (if applicable): NA
- GPU models and configuration (e.g. V100): NA
- Any other relevant information:
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 15 (3 by maintainers)
I think you can ignore it. The package should run okay even with the warning.