OSError: torch_scatter/_version_cpu.so: undefined symbol: _ZN5torch3jit17parseSchemaOrNameERKSs
😵 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?
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):
seems like I cannot import any of the additional libraries
You need to install PyTorch from the official source, not from conda-forge.