polm / fugashi

A Cython MeCab wrapper for fast, pythonic Japanese tokenization and morphological analysis.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Windows Python 3.8.10 pip: 'mecab.h': No Such File or Directory

kdrkdrkdr opened this issue · comments

image

image

My Command line -> "pip install fugashi[unidic-lite]"

It's an error that happens on Windows. Is there any way to solve this problem?

Please copy and paste text as text, do not paste screenshots of text.

This happens because you're not using a wheel, so it tries to build from source and fails because MeCab is not installed. This usually only happens if you're using 32bit Python on Windows. Can you check to see if that's the case? If not let me know and I can check other things.

32bit Python on Windows is not supported, because as far as I am aware there is no merit to using it, and switching to 64bit is easy and has no downsides. If you are using it intentionally, let me know why and I can look at supporting it.

Closing due to lack of response. Please feel free to reply if you need more help.