You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I encountered an architecture compatibility issue when using Phonemizer with espeak-ng on a Mac with an Apple Silicon (ARM64) chip. The error message suggests that the espeak-ng library is not compatible with the architecture.
Error Message:
# filePath: /phonemizer/backend/espeak/api.py
espeak: CDLL = ctypes.cdll.LoadLibrary(str(library))
Error: tried: '/opt/homebrew/Cellar/espeak-ng/1.52.0/bin/espeak-ng' (mach-o file, but is an incompatible architecture (have 'arm64', need 'x86_64')), '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/Cellar/espeak-ng/1.52.0/bin/espeak-ng' (no such file), '/opt/homebrew/Cellar/espeak-ng/1.52.0/bin/espeak-ng' (mach-o file, but is an incompatible architecture (have 'arm64', need 'x86_64'))
Phonemizer should correctly load the espeak-ng library and perform phonemization without architecture-related errors.
Actual Behavior:
The espeak-ng library fails to load due to incompatible architecture, requiring x86_64 but having arm64.
Additional Information:
The issue seems to stem from a mismatch in the architecture between espeak-ng and the expected binary format. Running Rosetta 2 for emulation may not be ideal for performance-critical applications.
Possible Workaround:
Any recommendations or workarounds for ensuring compatibility with Apple Silicon would be appreciated.
The text was updated successfully, but these errors were encountered:
Description:
I encountered an architecture compatibility issue when using Phonemizer with
espeak-ng
on a Mac with an Apple Silicon (ARM64) chip. The error message suggests that theespeak-ng
library is not compatible with the architecture.Error Message:
Environment:
Steps to Reproduce:
espeak-ng
using Homebrew on Apple Silicon:Expected Behavior:
Phonemizer should correctly load the
espeak-ng
library and perform phonemization without architecture-related errors.Actual Behavior:
The
espeak-ng
library fails to load due to incompatible architecture, requiringx86_64
but havingarm64
.Additional Information:
The issue seems to stem from a mismatch in the architecture between
espeak-ng
and the expected binary format. Running Rosetta 2 for emulation may not be ideal for performance-critical applications.Possible Workaround:
Any recommendations or workarounds for ensuring compatibility with Apple Silicon would be appreciated.
The text was updated successfully, but these errors were encountered: