1、查看版本号
import torch 1.11
torch.version.cuda#11.3
2、确定cuda的版本11.1
nvcc -V
3、按照链接进行安装
也可以通过卸载它,知道它是什么版本
4、安装链接安装包
pip install torch-scatter torch-sparse torch-cluster torch-spline-conv -f https://pytorch-geometric.com/whl/torch-1.10.2%2Bcu102.html
pip install torch-geometric
5、常见安装包时的bug
https://blog.csdn.net/qq_54478153/article/details/122683064(解决安装稀疏矩阵)
https://zhuanlan.zhihu.com/p/343284464(不兼容的问题)
Colab crashes due to tcmalloc large allocation(因为数据集太大而崩溃)



