AMR-KELEG / Franco-Arabic-Transliterator

A rule-based python package to convert romanized/franco arabic into Arabic.
GNU General Public License v3.0
24 stars 3 forks source link

Error in pip installing #12

Open AndrewBasem1 opened 11 months ago

AndrewBasem1 commented 11 months ago

First of all, what a great project! really inspiring to see a fellow AinShams graduate working on such interesting and awesome projects!

I'm having an issue while pip installing, here's the tail of the terminal output:

      libhfst/src/parsers/XfstCompiler.cpp:58:12: fatal error: readline/readline.h: No such file or directory
         58 |   #include <readline/readline.h>
            |            ^~~~~~~~~~~~~~~~~~~~~
      compilation terminated.
      error: command '/usr/bin/x86_64-linux-gnu-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: legacy-install-failure

× Encountered error while trying to install package.
╰─> hfst

note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure.

Python version: 3.10.12 OS: Ubuntu 22.04.3 LTS x86_64

github-actions[bot] commented 11 months ago

Thanks for posting your issue. I will look through it shortly!

AMR-KELEG commented 11 months ago

Hi @AndrewBasem1, Thanks for your interest in the project. As per the error logs, the failure is caused by the hfst dependency. I will think of a way to circumvent the dependency. In the meantime, I think that using python 3.7 would potentially solve the issue.