In general, this should be an issue of not having pre-built wheels for Python 3.10.
mecab.h and libmecab.lib cannot be found, causing building errors.
Eventually I noticed that I have to download mecab-msvc-x64.zip 1 and extract to the very specific location recorded in fugashi_utils.py2, in order to build the wheel and install successfully.
(ofc before this, have Build Tools and Windows SDK installed)
What I don't understand is that I have to use this specific (forked) version of mecab, instead of the installer from Official Website (generally because installed ver have subfolders bin and sdk to store dll, h and lib separately). And the hardcoded path does look strange.
fugashi-1.1.1-cp310-cp310-win_amd64.zip
idk if this should be an issue, sorry for any incovenience
In general, this should be an issue of not having pre-built wheels for Python 3.10.
mecab.handlibmecab.libcannot be found, causing building errors.Eventually I noticed that I have to download mecab-msvc-x64.zip 1 and extract to the very specific location recorded in fugashi_utils.py2, in order to build the wheel and install successfully.
(ofc before this, have Build Tools and Windows SDK installed)
What I don't understand is that I have to use this specific (forked) version of mecab, instead of the installer from Official Website (generally because installed ver have subfolders
binandsdkto store dll, h and lib separately). And the hardcoded path does look strange.fugashi-1.1.1-cp310-cp310-win_amd64.zip
idk if this should be an issue, sorry for any incovenience
Footnotes
https://github.com/polm/fugashi/blob/9ba7b3013680e359aadfe57c2213c7df040d13ca/.github/workflows/windows.yml#L49 ↩
https://github.com/polm/fugashi/blob/9ba7b3013680e359aadfe57c2213c7df040d13ca/fugashi_util.py#L18 ↩