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

Unable to build ReLM #1

Open
ts2021 opened this issue Dec 27, 2023 · 1 comment
Open

Unable to build ReLM #1

ts2021 opened this issue Dec 27, 2023 · 1 comment

Comments

@ts2021
Copy link

ts2021 commented Dec 27, 2023

I am unable to build ReLM. I am using ubuntu, gcc version 7.5.0, python 3.8.12. Build is failing with OpenFST; error is below

 extensions/_pywrapfst.cpp:1254:10: fatal error: fst/util.h: No such file or directory
   #include <fst/util.h>
            ^~~~~~~~~~~~
  compilation terminated.
  error: command '/usr/bin/gcc' failed with exit code 1
  [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for pynini

@eylkc
Copy link

eylkc commented Mar 27, 2024

Did you install OpenFST in a non-default prefix? If so, you will have to change the setup.py and and '-I/your/directory/openfst/include' to the extra_compile_args.

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

2 participants