Closed camiel-genesys closed 9 months ago
This is almost surely a duplicate of #30. This will be fixed in the next release via migration to pyproject.toml
and such.
Yeah, I also suspected it is a duplicate, my only worry was that #30 didn't mention the arm64
linux platform. I am saying this because I can pip install perfectly fine on an amd64 linux platform, the problem is specifically related to arm64 in my case.
By the way, do you have some kind of estimation of when the next release will be published?
Probably some time this fall. I work on it as much as I possibly can.
That said, there's an easy fix for you, I think: install Cython first: pip install cython==0.29.17
(I think) and then install this. The error is because setup.py
is a Python script which imports Cython, but also installs it...so if you have already installed it, you should be good. pyproject.toml
is not a Python script so whatever build system you use with it, it can resolve the dependencies before importing them.
I'm going to close this in favor of #30 but indicate there that it's not platform-specific.
Pynini 2.1.5.post1 should solve the Cython issue, though I can't guarantee your ARM machine will have enough juice to compile it (it's a big project).
Thanks Kyle! I only got to work on this again now and I have a few questions...
Hi there. Re: (1) I have all major releases available here if you really need them:
https://www.opengrm.org/twiki/bin/view/GRM/PyniniDownload
Re: (2) I would always recommend just working with the newest Pynini release and the newest OpenFst release. Pynini 2.1.6 compiles against OpenFst 1.8.3 and is unlikely to work with any other release.
Re: (3), yes, that's basically it. You'd follow the instructions on openfst.org (roughly, download and decompress the OpenFst 1.8.3 tarball, navigate into the directory it creates, run./configure --enable-grm
then make -j
and if that's successful, sudo make install -j
) then if you download and decompress (if necessary) the Pynini 2.1.6 tarball, navigate into the directory it creates and run pip install -v .
Then wait---and if you're lucky you should have a working installation. Good luck!
I am not sure if this is covered already in any of the other 3 issues...
I am trying to
pip install pynini
on an arm64 linux platform. I don't have conda-forge in my case so that wouldn't be an option.This is the error I am getting:
Any advise on what to do?
Thanks, Camiel