如指定pytorch=1.8.0 dgl=0.5.0
1.pytorch
1.1 方法一
直接安装
pytorch以前版本的官方网址:Previous PyTorch Versions | PyTorch
直接查询1.8.0
1.2 方法二
pytorch所有版本的网址: https://download.pytorch.org/whl/torch_stable.html
pip install cu111/torch-1.8.0%2Bcu111-cp38-cp38-linux_x86_64.whl
2.DGL
指定dgl=0.5.1
dgl所有版本的网址:Links for dgl-cu102 (tsinghua.edu.cn)
pip install dgl_cu102-0.5.0-cp37-cp37m-manylinux1_x86_64.wh