Closed ParticularlyPythonicBS closed 2 years ago
Same issue here. I was using a cpu only machine. The OSError gave the same undefined symbol above.
Same issue when importing
from torch_geometric.data import Data
/usr/local/lib/python3.7/dist-packages/torch_sparse/_spmm_cpu.so: undefined symbol: _ZNK3c1010TensorImpl36is_contiguous_nondefault_policy_implENS_12MemoryFormatE
Issue fixed by downloading the 11.6 cuda files using pip install torch-scatter torch-sparse -f https://data.pyg.org/whl/torch-1.12.0+cu116.html
I recommend that the readme should reflect the pip package being more updated than the conda one
Hi, I am trying use this library for torch geometric and am currently unable to import it without errors. here is the output when I try to import the library
I installed the package through anaconda using
conda install pytorch-sparse -c pyg
My torch.version.cuda is
11.6
and torch version is1.12.0
.My NVCC build is
Build cuda_11.7.r11.7/compiler.31294372_0
I would appreciate any help in solving this issue