-
Notifications
You must be signed in to change notification settings - Fork 237
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
macOS dependency install #305
Comments
Setting It looks like it would have worked on Intel Macs as the default install directory for Homebrew was On the M1 mac, the default install directory is now So, for the build to work automatically on the M1 variant, with the current instructions you would need to add |
Could you please be more specific: where exactly should this option be used: |
After an hour's trial-and-error, I finally know how to tell pip how to find espeak library, using the following command: AENEAS_WITH_CEW=True; LIBRARY_PATH=/opt/homebrew/lib pip install aeneas and the diagnosis shows that cew is enabled $ python -m aeneas.diagnostics
[INFO] ffprobe OK
[INFO] ffmpeg OK
[INFO] espeak OK
[INFO] aeneas.tools OK
[WARN] shell encoding WARNING
[WARN] The default input encoding of your shell is not UTF-8
[WARN] The default output encoding of your shell is not UTF-8
[INFO] If you plan to use aeneas on the command line,
[INFO] you might want to 'export PYTHONIOENCODING=UTF-8' in your shell
[INFO] aeneas.cdtw AVAILABLE
[INFO] aeneas.cmfcc AVAILABLE
[INFO] aeneas.cew AVAILABLE
[INFO] All required dependencies are met and all available Python C extensions are working
|
WORKED, thank you our lord and saviour. |
OS/arch: macOS 13.5.2 / arm64
Install command:
pip wheel --use-pep517 "aeneas (==1.7.3.0)"
I have a build where aeneas is used as a dependency for a project, and my system does have espeak installed via homebrew as recommended in the setup warning that is printed. It failed to install via the tooling in my project (Poetry) and gave the command above as a method of testing it outside of any of its own tooling as a method of testing.
Looking at the output log. The library is not found. I believe this is because the clang command does not contain the
-L/opt/homebrew/lib
, indicating that it should look in that path for libraries.I'm going to attempt just modifying my ld path and try again, but given you advise users to install via homebrew, do you think adding it makes sense?
The text was updated successfully, but these errors were encountered: