Home > other >  OSError: dlopen (... ) : Symbol not found: __ZN3c104impl23ExcludeDispatchKeyGuardC
OSError: dlopen (... ) : Symbol not found: __ZN3c104impl23ExcludeDispatchKeyGuardC

Time:12-07

Traceback (the most recent call last) :
File "/Users/clark/Python Learning PinYin - the torch/PolyphoneDisambiguation - master/Code/PolyphoneDisambiguation/DataProcessing/preprocessing. Py", line 9, the in & lt; module>
The from torchtext. Data import Field, TabularDataset
The File "/Users/clark/opt/anaconda3/envs/pytorch/lib/python3.8/site - packages/torchtext/set py", line 40, in & lt; module>
_init_extension ()
The File "/Users/clark/opt/anaconda3/envs/pytorch/lib/python3.8/site - packages/torchtext/set py", line 36, in _init_extension
The torch. Ops. Load_library (ext_specs. Origin)
The File "/Users/clark/opt/anaconda3/envs/pytorch/lib/python3.8/site - packages/torch/_ops. Py", line 105, in load_library
Ctypes. CDLL (path)
The File "/Users/clark/opt/anaconda3/envs/pytorch/lib/python3.8 ctypes/set py", line 381, in __init__
Self. _handle=_dlopen (self _name, mode)
OSError: dlopen (/Users/clark/opt/anaconda3/envs/pytorch/lib/python3.8/site - packages/torchtext/_torchtext. So, 6) : Symbol not found: __ZN3c104impl23ExcludeDispatchKeyGuardC1ENS_14DispatchKeySetE
Referenced the from:/Users/clark/opt/anaconda3/envs/pytorch/lib/python3.8/site - packages/torchtext/_torchtext. So
Expected in:/Users/clark/opt/anaconda3/envs/pytorch/lib/python3.8/site - packages/torch/lib/libc10 dylib
/Users/clark in/opt/anaconda3/envs/pytorch/lib/python3.8/site - packages/torchtext/_torchtext. So

To run the program and old newspaper this mistake, could you tell me how to solve?
  • Related