-
Notifications
You must be signed in to change notification settings - Fork 26.3k
Closed
Description
I have installed pytorch from source on Mac OS successfully, but import torch cases error:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/Users/warbean/anaconda3/envs/py35/lib/python3.5/site-packages/torch/__init__.py", line 45, in <module>
from torch._C import *
ImportError: dlopen(/Users/warbean/anaconda3/envs/py35/lib/python3.5/site-packages/torch/_C.cpython-35m-darwin.so, 10): Symbol not found: ___emutls_get_address
Referenced from: /Users/warbean/anaconda3/envs/py35/lib/python3.5/site-packages/torch/lib/libTH.1.dylib
Expected in: /usr/lib/libSystem.B.dylib
in /Users/warbean/anaconda3/envs/py35/lib/python3.5/site-packages/torch/lib/libTH.1.dylib
Looks like the key is Symbol not found: ___emutls_get_address. Any suggestions to fix it?
Metadata
Metadata
Assignees
Labels
No labels