1.首先安装torch,如我们在这里安装1.8.2PyTorch /1.0.1 CUDA版本,在官网查找命令https://anaconda.org/pytorch-lts/pytorch
conda install -c pytorch-lts pytorch
2.torch-geometric的安装和其他四个库相关(torch-cluster、pytorch-scatter、torch-sparse、pytorch-spline-conv)
在https://pytorch-geometric.com/whl/index.html中,我们顺着随便一个自己的torch版本进去看。安装命令如下
conda install -c esri torch-sparse
conda install -c esri torch-cluster
conda install -c rusty1s pytorch-scatter
conda install -c rusty1s pytorch-spline-conv
3.安装torch-geometric
pip install torch-geometric
安装成功!!!



