问题:ModuleNotFoundError: No module named 'torch_geometric'显示如下:
注意:
1 不能简单的直接pip install torch_geometric或者 conda install torch_geometric
2 直接安装,到后面调用的时候还是会报错.需要先安装四个小部件再安装torch_geometric
下载网址:
https://pytorch-geometric.com/whl/
本次下载文件如下:
安装命令:
pip install C:\Users\Miao\Downloads\torch_cluster-1.5.9-cp38-cp38-win_amd64.whl
pip install C:\Users\Miao\Downloads\torch_scatter-2.0.9-cp38-cp38-win_amd64.whl
pip install C:\Users\Miao\Downloads\torch_sparse-0.6.12-cp38-cp38-win_amd64.whl
pip install C:\Users\Miao\Downloads\torch_spline_conv-1.2.1-cp38-cp38-win_amd64.whl