-
I installed all the packages required for this example. Here's my version of packages: But when I run the code, I get the following error: |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Seems the problem lies in the incompatibility of PS: Install them with option |
Beta Was this translation helpful? Give feedback.
Seems the problem lies in the incompatibility of
torch_geometric=2.x.x
andtorch_geometric=1.x.x
. I downgradepyg
to version1.7.2
withpip install torch-geometric==1.7.2
and the problem solved.PS:
torch-sparse
torch-scatter
torch-cluster
can be installed without*cuda.so
in their corresponding folders, which will cause error when you usecuda
.Install them with option
--no-index
and the full command will bepip install torch-scatter --no-index -f https://pytorch-geometric.com/whl/torch-1.9.0+cu111.html