Closed fra0furio closed 11 months ago
Near the bottom of the error message, it says:
cannot find -lespeak: No such file or directory
This issue has that same error message
Running sudo apt-get install libespeak-dev
should fix it.
How about Mac? Can I install libespeak-dev in macOS?
fra_furio@PCfrafurio:~$ pip install afaligner Defaulting to user installation because normal site-packages is not writeable Collecting afaligner Using cached afaligner-0.2.0-cp310-cp310-linux_x86_64.whl Requirement already satisfied: Jinja2>=3.1.2 in ./.local/lib/python3.10/site-packages (from afaligner) (3.1.2) Collecting aeneas>=1.7.3.0 (from afaligner) Using cached aeneas-1.7.3.0.tar.gz (5.5 MB) Preparing metadata (setup.py) ... done Requirement already satisfied: BeautifulSoup4>=4.5.1 in /usr/lib/python3/dist-packages (from aeneas>=1.7.3.0->afaligner) (4.10.0) Requirement already satisfied: lxml>=3.6.0 in ./.local/lib/python3.10/site-packages (from aeneas>=1.7.3.0->afaligner) (4.9.2) Requirement already satisfied: numpy>=1.9 in ./.local/lib/python3.10/site-packages (from aeneas>=1.7.3.0->afaligner) (1.24.3) Requirement already satisfied: MarkupSafe>=2.0 in /usr/lib/python3/dist-packages (from Jinja2>=3.1.2->afaligner) (2.0.1) Building wheels for collected packages: aeneas Building wheel for aeneas (setup.py) ... error error: subprocess-exited-with-error
× python setup.py bdist_wheel did not run successfully. │ exit code: 1 ╰─> [218 lines of output] /tmp/pip-install-jpktaqr7/aeneas_a69c34987af9464494f0056c337dd2f2/setup.py:190: DeprecationWarning:
note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for aeneas Running setup.py clean for aeneas Failed to build aeneas ERROR: Could not build wheels for aeneas, which is required to install pyproject.toml-based projects