Closed tak2hu closed 1 year ago
This can happen if mecab-config
is not in your PATH
. This doesn't seem to usually be an issue on OSX, but maybe you installed to a different location or something? How did you install MeCab?
I installed mecab through pip install mecab-python3
(also unidic_lite
too) but there's no mecab-config
, there's only mecab-py
and mecab-py-info
in PATH
.
I then tried tried using micromamba (anaconda) with python 3.9 and had no problem because it downloaded .whl
s instead of building.
I installed mecab through pip install mecab-python3 (also unidic_lite too) but there's no mecab-config, there's only mecab-py and mecab-py-info in PATH.
To install MeCab from source, as you were doing here, you need to install the original MeCab C++ program/library, not any Python package. fugashi cannot use the MeCab included in mecab-python3. I believe the usual way to install MeCab from source is via brew, as described here.
It sounds like this is resolved now since you were able to use x86 wheels?
I opened this issue because there was no osx x86 py3.11 wheels and I didn’t know how to build this and mecab from source, now I know. Thanks!
Got it, thanks for the clarification, and glad you figured it out!
I already installed mecab and unidic-lite