torch-geometric安装

划重点!!!!

torch-scatter  torch-sparse torch-cluster torch-spline-conv这些关联包要与torch版本匹配。

pip list查看版本

比如我的是1.13.0,cu117版本,那么我就装1.13.0 cu117版本对应的那四个关联包,如下命令:

pip install torch-scatter -f https://pytorch-geometric.com/whl/torch-1.13.0+cu117.html
pip install torch-sparse -f https://pytorch-geometric.com/whl/torch-1.13.0+cu117.html
pip install torch-cluster -f https://pytorch-geometric.com/whl/torch-1.13.0+cu117.html
pip install torch-spline-conv -f https://pytorch-geometric.com/whl/torch-1.13.0+cu117.html
pip install torch-geometric

 

你可能感兴趣的:(深度学习,人工智能,python)