Unable to import the library, though I installed torch v1.0 and pytorch-fast-elmo
What I Did
File "/usr/local/lib/python3.7/site-packages/pytorch_fast_elmo/init.py", line 12, in
from pytorch_stateful_lstm import StatefulUnidirectionalLstm
File "/usr/local/lib/python3.7/site-packages/pytorch_stateful_lstm/init.py", line 11, in
from _pytorch_stateful_lstm import (
ImportError: dlopen(/usr/local/lib/python3.7/site-packages/_pytorch_stateful_lstm.cpython-37m-darwin.so, 2): Symbol not found: __ZN3c1019UndefinedTensorImpl10_singletonE
Referenced from: /usr/local/lib/python3.7/site-packages/_pytorch_stateful_lstm.cpython-37m-darwin.so
Expected in: flat namespace
in /usr/local/lib/python3.7/site-packages/_pytorch_stateful_lstm.cpython-37m-darwin.so
Description
Unable to import the library, though I installed torch v1.0 and pytorch-fast-elmo
What I Did
File "/usr/local/lib/python3.7/site-packages/pytorch_fast_elmo/init.py", line 12, in
from pytorch_stateful_lstm import StatefulUnidirectionalLstm
File "/usr/local/lib/python3.7/site-packages/pytorch_stateful_lstm/init.py", line 11, in
from _pytorch_stateful_lstm import (
ImportError: dlopen(/usr/local/lib/python3.7/site-packages/_pytorch_stateful_lstm.cpython-37m-darwin.so, 2): Symbol not found: __ZN3c1019UndefinedTensorImpl10_singletonE
Referenced from: /usr/local/lib/python3.7/site-packages/_pytorch_stateful_lstm.cpython-37m-darwin.so
Expected in: flat namespace
in /usr/local/lib/python3.7/site-packages/_pytorch_stateful_lstm.cpython-37m-darwin.so