从源码安装
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
git clone --recursive https://github.com/dmlc/dgl.git
cd build
mkdir build
# CPU-only build
cmake ..
# CUDA build
cmake -DUSE_CUDA=ON ..
make -j32
# install the python binding
cd ../python
python setup.py install