You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fugashi v1.2.1 raises ImportError, but v1.2.0 does nothing.
Is there something wrong on my part?
the traceback:
..
ImportError: dlopen(~/.local/share/virtualenvs/Oyeve75j/lib/python3.8/site-packages/fugashi/fugashi.cpython-38-darwin.so, 2): Symbol not found: __ZNKSt3__115basic_stringbufIcNS_11char_traitsIcEENS_9allocatorIcEEE3strEv
Referenced from: ~/.local/share/virtualenvs/Oyeve75j/lib/python3.8/site-packages/fugashi/.dylibs/libmecab.2.dylib (which was built for Mac OS X 12.0)
Expected in: /usr/lib/libc++.1.dylib
OS: macOS (10.15.7)
Python: 3.8.2
fugashi: 1.2.1
The text was updated successfully, but these errors were encountered:
Sorry you're having trouble with this. It sounds like maybe you're on an M1 Mac - in that case you need to install MeCab first, and then install fugashi from source. See this thread, which is for mecab-python3, though it's the same problem.
Also, it would help to know how you installed fugashi. It sounds like your specific error is maybe due to an architecture mismatch, or possibly due to some other difference in the compilation between fugashi and MeCab.
Also, when you say 1.2.0 "does nothing", do you mean it works without error, or something else?
Sorry for the delayed followup, but since it sounds like an issue on your end I'll close this. Feel free to post again if there's something I can help with.
fugashi v1.2.1 raises ImportError, but v1.2.0 does nothing.
Is there something wrong on my part?
the traceback:
OS: macOS (10.15.7)
Python: 3.8.2
fugashi: 1.2.1
The text was updated successfully, but these errors were encountered: