MSeal / cython_hunspell

Cython wrapper on Hunspell Dictionary
Other
65 stars 17 forks source link

Install latest version #44

Open hyperknot opened 1 year ago

hyperknot commented 1 year ago

I see there are multiple issues in getting this run on Python 3.10 on macOS.

  1. The 2.x version is still not picked up by pip install. https://github.com/MSeal/cython_hunspell/issues/42 I found a workaround as to use

    pip install https://github.com/MSeal/cython_hunspell/archive/refs/tags/2.0.3.tar.gz
  2. Then the install couldn't complete.

    autoreconf: running: aclocal --force -I m4
      Can't exec "aclocal": No such file or directory at /opt/homebrew/Cellar/autoconf/2.71/share/autoconf/Autom4te/FileUtils.pm line 274.
      autoreconf: error: aclocal failed with exit status: 2

I fixed it with:

brew install automake
  1. It seems to build now. But do I understand it correctly that this includes hunspell as well as the most popular dictionaries?
gregoriopellegrino commented 10 months ago

I get error:

metadata-generation-failed
ggeorgop99 commented 6 months ago

I also get the same error as @gregoriopellegrino . Has anyone found a solution?

DavraYoung commented 6 months ago

python3.9 installs 2.x.x version correctly. Starting from 3.10 pip refuses to find cyhunspell 2.0.2

I found a fix:

apt install -y  autoconf libtool  gettext autopoint
pip install https://github.com/MSeal/cython_hunspell/archive/refs/tags/2.0.3.tar.gz