SamuraiT / mecab-python3

:snake: mecab-python. you can find original version here:http://taku910.github.io/mecab/
https://pypi.python.org/pypi/mecab-python3
Other
541 stars 51 forks source link

Doesn't work with Pypy #61

Closed polm closed 3 years ago

polm commented 3 years ago

This is a followup to the below issue.

https://github.com/taku910/mecab/issues/65

I confirmed that mecab-python3 doesn't work with Pypy. This seems to be an issue with SWIG, and it is not clear how easy it is to resolve.

However, fugashi just works with pypy, so I recommend using that.

https://github.com/polm/fugashi

Given that this is a SWIG issue of unclear complexity, and that fugashi just works, I am not interested in working on supporting Pypy. On the other hand, if there were a PR for support and it wasn't too complex I would be open to accepting it.

polm commented 3 years ago

Going to close this because I'm not working on it, but it can be useful to refer to in the future.

polm commented 3 years ago

This suggests that with SWIG 4.0+ things should work with Pypy. However we're already using that version of SWIG so not sure what the issue is.

https://stackoverflow.com/questions/66096949/getting-gcc-failed-with-exit-status-1-when-trying-to-install-mecab-with-pypy/66226143#66226143