You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to install torch_scatter but it is gives this error
Python 3.8.12 (default, Oct 12 2021, 13:49:34)
[GCC 7.5.0] :: Anaconda, Inc. on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import torch_scatter
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/anshuman/anaconda3/envs/Py38/lib/python3.8/site-packages/torch_scatter/__init__.py", line 16, in <module>
torch.ops.load_library(spec.origin)
File "/home/anshuman/anaconda3/envs/Py38/lib/python3.8/site-packages/torch/_ops.py", line 110, in load_library
ctypes.CDLL(path)
File "/home/anshuman/anaconda3/envs/Py38/lib/python3.8/ctypes/__init__.py", line 373, in __init__
self._handle = _dlopen(self._name, mode)
OSError: /home/anshuman/anaconda3/envs/Py38/lib/python3.8/site-packages/torch_scatter/_scatter_cpu.so: undefined symbol: _ZSt28__throw_bad_array_new_lengthv
My guess is it has something to do with cudatoolkit. But I have it installed
The text was updated successfully, but these errors were encountered:
Please share more information about how you installed PyTorch (torch.__version__ and torch.cuda.version) and torch-scatter. Please share any information logs of running pip install --verbose torch-scatter -f ... as well.
Hey @rusty1s , turns out that this issue solved my problem.
It occurred because of missmatch in c-compiler and cxx-compiler version of anaconda and system.
I am trying to install torch_scatter but it is gives this error
My guess is it has something to do with cudatoolkit. But I have it installed
The text was updated successfully, but these errors were encountered: