question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

env/lib/python3.9/site-packages/torch_sparse/_convert_cpu.so, 0x0006): Symbol not found

See original GitHub issue

😵 Describe the installation problem

just barely getting started with

from ogb.graphproppred import PygGraphPropPredDataset
from torch_geometric.data import DataLoader

# Download and process data at './dataset/ogbg_molhiv/'
# dataset = PygGraphPropPredDataset(name = "ogbn-arxiv", root = 'dataset/')
dataset = PygGraphPropPredDataset(name = 'ogbn-arxiv')

OSError: dlopen(/Users/donghanhe/env/lib/python3.9/site-packages/torch_sparse/_convert_cpu.so, 0x0006): Symbol not found: __ZN2at5emptyEN3c108ArrayRefIxEENS0_13TensorOptionsENS0_8optionalINS0_12MemoryFormatEEE

Environment

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

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

0reactions
squarefaceyaocommented, Nov 14, 2022

pip install --verbose torch-scatter

Thank you for your help. Do you have an official tutorial on installing PyG on M1?

Read more comments on GitHub >

github_iconTop Results From Across the Web

pytorch (cpu only) on osx fails with symbol not found
So, after removing torch-geometric and all its dependencies, I used the PyG documentation to know compatible versions of torch-geometric and ...
Read more >
Error running sparse_linear.ipynb - Education - HTM Forum
Even though the notebook runs on the CPU not the GPU on an M1 Mac Mini ... .8/site-packages/torchvision/image.so, 0x0006): Symbol not found: ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found