ModuleNotFoundError: No module named ‘torch_scatter‘

insert image description here


Problem Description:

A beginner in the fan exchange group torch-geometricis using this toolkit from torch_geometric.data import Dataand has the following problemsModuleNotFoundError: No module named 'torch_scatter'

insert image description here


Cause Analysis:

This problem is very simple, that is, to use torch-geometricthis graph neural network toolkit, you need other dependent packages torch-scatter, torch-cluster, torch-spline-conv, torch-sparse.

Obviously, this little partner has only installed it torch-geometric, so there will be a problem that the corresponding module cannot be found when importing and running.


<

Guess you like

Origin blog.csdn.net/m0_47256162/article/details/132116385