python3.8, torch1.10.2+cu113, torch-geometric installation

【1】conda create -n name python=3.8

【2】Install torch 

Pay attention to the highest adaptable cuda version first

https://data.pyg.org/whl/    version correspondence

[3] Install torch-geometric in order:

torch-sparse、torch-scatter、torch-cluster、 torch-spline-conv \torch-geometric

pip install torch-xxxx -f address

Version at: https://pytorch-geometric.com/whl/

 Notice:

When installing torch-geometric:

If you directly pip install geometric: an error will be reported in the import

 Find from the official website:

Guess you like

Origin blog.csdn.net/weixin_63016274/article/details/130840372