pytorch_geometric icon indicating copy to clipboard operation
pytorch_geometric copied to clipboard

OSError: torch_scatter/_version_cpu.so: undefined symbol: _ZN5torch3jit17parseSchemaOrNameERKSs

Open Lili-Cao opened this issue 1 year ago • 2 comments

😵 Describe the installation problem

I have pytorch 2.3.1 cpu_generic_py310ha4c588e_0 conda-forge installed and I want to use torchdrug. I have installed

pip install torch_geometric pip install ninja wheel pip install git+https://github.com/pyg-team/pyg-lib.git pip install torch-scatter -f https://data.pyg.org/whl/torch-2.3.0+cpu.html pip install torch-scatter torch-sparse -f https://data.pyg.org/whl/torch-2.3.0+cpu.html pip install torch-cluster -f https://data.pyg.org/whl/torch-2.3.0+cpu.html pip install torch-spline-conv -f https://data.pyg.org/whl/torch-2.3.0+cpu.html pip install torchdrug and get the OS error when import it

Could you please tell me how to fix it?

image

Environment

  • PyG version:
  • PyTorch version:
  • OS:
  • Python version:
  • CUDA/cuDNN version:
  • How you installed PyTorch and PyG (conda, pip, source):
  • Any other relevant information (e.g., version of torch-scatter):

Lili-Cao avatar Jul 09 '24 12:07 Lili-Cao

seems like I cannot import any of the additional libraries

Lili-Cao avatar Jul 09 '24 12:07 Lili-Cao

You need to install PyTorch from the official source, not from conda-forge.

rusty1s avatar Aug 19 '24 10:08 rusty1s