aeneas icon indicating copy to clipboard operation
aeneas copied to clipboard

mac m1 silicon always fail

Open nevertoday opened this issue 2 years ago • 4 comments

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

nevertoday avatar Jun 06 '22 13:06 nevertoday

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.

Jack-Yu-815 avatar Sep 06 '22 06:09 Jack-Yu-815

python 3.7 will success .

nevertoday avatar Sep 12 '22 11:09 nevertoday

how to install zh lanugauge this way

nevertoday avatar Mar 09 '23 14:03 nevertoday