划重点!!!!
torch-scatter torch-sparse torch-cluster torch-spline-conv这些关联包要与torch版本匹配。
pip list查看版本
比如我的torch是1.13.0版本,那么我就装1.13.0 版本对应的那四个关联包,如下命令:
pip install torch-scatter -f https://pytorch-geometric.com/whl/torch-1.13.0+cpu.html
pip install torch-sparse -f https://pytorch-geometric.com/whl/torch-1.13.0+cpu.html
pip install torch-cluster -f https://pytorch-geometric.com/whl/torch-1.13.0+cpu.html
pip install torch-spline-conv -f https://pytorch-geometric.com/whl/torch-1.13.0+cpu.html
pip install torch-geometric