Skip to content

issue in installing torch_scatter #477

@SoumyaCYZ

Description

@SoumyaCYZ

Hi developers, can you help me to solve this issue
pip install torch-scatter -f https://data.pyg.org/whl/torch-2.0.0+cu117.html
Looking in links: https://data.pyg.org/whl/torch-2.0.0+cu117.html
Collecting torch-scatter
Downloading https://data.pyg.org/whl/torch-2.0.0%2Bcu117/torch_scatter-2.1.2%2Bpt20cu117-cp310-cp310-linux_x86_64.whl (10.1 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 10.1/10.1 MB 4.6 MB/s eta 0:00:00
Installing collected packages: torch-scatter
Successfully installed torch-scatter-2.1.2+pt20cu117
(schn) [cyz218385@vsky004 ~/scratch/chig_cgschnet/schnet/For_Soumya]
$ python3
Python 3.10.6 | packaged by conda-forge | (main, Aug 22 2022, 20:36:39) [GCC 10.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.

from torch_scatter import scatter
Traceback (most recent call last):
File "", line 1, in
File "/home/chemistry/phd/cyz218385/.conda/envs/schn/lib/python3.10/site-packages/torch_scatter/init.py", line 16, in
torch.ops.load_library(spec.origin)
File "/home/chemistry/phd/cyz218385/.conda/envs/schn/lib/python3.10/site-packages/torch/_ops.py", line 255, in load_library
ctypes.CDLL(path)
File "/home/chemistry/phd/cyz218385/.conda/envs/schn/lib/python3.10/ctypes/init.py", line 374, in init
self._handle = _dlopen(self._name, mode)
OSError: /home/chemistry/phd/cyz218385/.conda/envs/schn/lib/python3.10/site-packages/torch_scatter/_version_cuda.so: undefined symbol: _ZN5torch3jit17parseSchemaOrNameERKSs

(schn) [cyz218385@vsky004 ~/scra

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions