Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install latest version #44

Open
hyperknot opened this issue Jun 25, 2023 · 4 comments
Open

Install latest version #44

hyperknot opened this issue Jun 25, 2023 · 4 comments

Comments

@hyperknot
Copy link

hyperknot commented Jun 25, 2023

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. Cannot download version 2  #42
    I found a workaround as to use
pip install https://github.com/MSeal/cython_hunspell/archive/refs/tags/2.0.3.tar.gz
  1. 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?
@hyperknot hyperknot changed the title Cannot install latest version Install latest version Jun 25, 2023
@gregoriopellegrino
Copy link

gregoriopellegrino commented Nov 14, 2023

I get error:

metadata-generation-failed

@ggeorgop99
Copy link

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

@DavraYoung
Copy link

DavraYoung commented Mar 13, 2024

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

@PanderMusubi
Copy link

See also #42 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants