Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Symbol not found during dlopen (Python3.7) #78

Open
mikekgfb opened this issue Oct 30, 2020 · 0 comments
Open

Symbol not found during dlopen (Python3.7) #78

mikekgfb opened this issue Oct 30, 2020 · 0 comments

Comments

@mikekgfb
Copy link

mikekgfb commented Oct 30, 2020

I've been following the instructions for building pytext documentation with Python3.7 (and 3.8) on a Mac (Catalina 10.15.6)
at https://pytext.readthedocs.io/en/master/hacking_pytext.html#creating-documentation and I'm running into the following error during "make html"

Creating file /Users/mikekg/pytext/pytext/docs/source/modules/modules.rst.
WARNING:root:This caffe2 python run failed to load cuda module:No module named 'caffe2.python.caffe2_pybind11_state_gpu',and AMD hip module:No module named 'caffe2.python.caffe2_pybind11_state_hip'.Will run in CPU only mode.
Install apex from https://github.com/NVIDIA/apex/.

Exception occurred:
File "/Users/mikekg/Library/Python/3.7/lib/python/site-packages/torchcsprng/init.py", line 10, in
from torchcsprng._C import *
ImportError: dlopen(/Users/mikekg/Library/Python/3.7/lib/python/site-packages/torchcsprng/_C.cpython-37m-darwin.so, 2): Symbol not found: __ZN3c104impl23ExcludeDispatchKeyGuardC1ENS_11DispatchKeyE
Referenced from: /Users/mikekg/Library/Python/3.7/lib/python/site-packages/torchcsprng/_C.cpython-37m-darwin.so
Expected in: /Users/mikekg/Library/Python/3.7/lib/python/site-packages/caffe2/python/../../torch/lib/libc10.dylib
in /Users/mikekg/Library/Python/3.7/lib/python/site-packages/torchcsprng/_C.cpython-37m-darwin.so
The full traceback has been saved in /var/folders/_4/5prdm06n7_xcqvmrxj4gt69m0000gn/T/sphinx-err-kx0fy1j6.log, if you want to report the issue to the developers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant