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

mac m1 silicon always fail #285

Open
nevertoday opened this issue Jun 6, 2022 · 4 comments
Open

mac m1 silicon always fail #285

nevertoday opened this issue Jun 6, 2022 · 4 comments

Comments

@nevertoday
Copy link

nevertoday commented Jun 6, 2022

I try pip install and brew install, but it alway fails . I install from git same error will appear like below :


error: Command "clang -bundle -undefined dynamic_lookup -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk build/temp.macosx-12-arm64-cpython-39/aeneas/cew/cew_func.o build/temp.macosx-12-arm64-cpython-39/aeneas/cew/cew_py.o -lespeak -o build/lib.macosx-12-arm64-cpython-39/aeneas/cew/cew.cpython-39-darwin.so" failed with exit status 1


creating build/temp.macosx-12-arm64-cpython-39/aeneas/cew
INFO: compile options: '-I['/opt/homebrew/lib/python3.9/site-packages/numpy/core/include'] -I/opt/homebrew/opt/[email protected]/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c'
INFO: clang: aeneas/cew/cew_func.c
INFO: clang: aeneas/cew/cew_py.c
INFO: clang -bundle -undefined dynamic_lookup -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk build/temp.macosx-12-arm64-cpython-39/aeneas/cew/cew_func.o build/temp.macosx-12-arm64-cpython-39/aeneas/cew/cew_py.o -lespeak -o build/lib.macosx-12-arm64-cpython-39/aeneas/cew/cew.cpython-39-darwin.so
ld: library not found for -lespeak
clang: error: linker command failed with exit code 1 (use -v to see invocation)
error: Command "clang -bundle -undefined dynamic_lookup -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk build/temp.macosx-12-arm64-cpython-39/aeneas/cew/cew_func.o build/temp.macosx-12-arm64-cpython-39/aeneas/cew/cew_py.o -lespeak -o build/lib.macosx-12-arm64-cpython-39/aeneas/cew/cew.cpython-39-darwin.so" failed with exit status 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.
╰─> aeneas

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


how to fixed . hope for u help . thks

@Jack-Yu-815
Copy link

Jack-Yu-815 commented Sep 6, 2022

I'm also having the same issue while installing aeneas with pip/brew. I use M2 Apple Silicon.


Follow up:
I followed this install file to download the All-in-one Installer (file name: aeneas-mac-setup-1.7.3.0_2.dmg) for macOS. After installing using the GUI installer, I did pip install aeneas again and the it has been installed successfully. The force alignment code also runs successfully.

You might see the warning that the certificate for the installation package is expired in 2021. I just went ahead anyway.

Hope this helps.

@nevertoday
Copy link
Author

python 3.7 will success .

@nevertoday
Copy link
Author

how to install zh lanugauge this way

@ezekiel747
Copy link

I'm also having the same issue while installing aeneas with pip/brew. I use M2 Apple Silicon.

Follow up: I followed this install file to download the All-in-one Installer (file name: aeneas-mac-setup-1.7.3.0_2.dmg) for macOS. After installing using the GUI installer, I did pip install aeneas again and the it has been installed successfully. The force alignment code also runs successfully.

You might see the warning that the certificate for the installation package is expired in 2021. I just went ahead anyway.

Hope this helps.

Didn't work for me. I'm on a M1.
The all-in-one installer ran successfully, however i wasn't able to install aeneas:

  • with brew i get this error:
    -- error in beautifulsoup4 setup command: use_2to3 is invalid.
  • with pip i get this error:
    -- ld: library 'espeak' not found
    clang: error: linker command failed with exit code 1 (use -v to see invocation)

However, espeak is installed:
which espeak
/opt/local/bin/espeak

What else can i do?

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

3 participants