Install DGL from source

Can’t install DGL from the source on CentOS.
When using python setup.py install, it throws 'Runtime Error: Cannot find the files. ’
List of candidates:
libdgl.so

Have you compiled DGL? Before you call python setup.py install, make sure you have built DGL:

git clone https://github.com/dmlc/dgl.git --recurse
cd dgl
mkdir build && cd build
cmake .. && make -j4
cd ../python
python setup.py install