Skip to content

Instantly share code, notes, and snippets.

@jamesr66a
Created April 9, 2018 17:22
Show Gist options
  • Save jamesr66a/f1a410fd2a367991fb3893b2eb6ecc23 to your computer and use it in GitHub Desktop.
Save jamesr66a/f1a410fd2a367991fb3893b2eb6ecc23 to your computer and use it in GitHub Desktop.
10:10:59 ~/onnx-fairseq/pytorch (fixpacktrace2) $ python test/test_jit.py
Traceback (most recent call last):
File "test/test_jit.py", line 1, in <module>
import torch
File "/Users/jamesreed/onnx-fairseq/pytorch/torch/__init__.py", line 78, in <module>
from torch._C import *
ImportError: dlopen(/Users/jamesreed/onnx-fairseq/pytorch/torch/_C.cpython-36m-darwin.so, 9): Library not loaded: @rpath/libATen.dylib
Referenced from: /Users/jamesreed/onnx-fairseq/pytorch/torch/lib/libshm.dylib
Reason: Incompatible library version: libshm.dylib requires version 1.0.0 or later, but libATen.dylib provides version 0.0.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment