Article directory
Problem Description:
A beginner in the fan exchange group torch-geometric
is using this toolkit from torch_geometric.data import Data
and has the following problemsModuleNotFoundError: No module named 'torch_scatter'
Cause Analysis:
This problem is very simple, that is, to use torch-geometric
this 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.
<