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

Install on mac #1

Open
evolu8 opened this issue Jan 1, 2025 · 2 comments
Open

Install on mac #1

evolu8 opened this issue Jan 1, 2025 · 2 comments

Comments

@evolu8
Copy link

evolu8 commented Jan 1, 2025

Many requirement issues hit trying to install on Mac. While many were handled quickly with a pip install (e.g. transformers, scipy, ...) I've hit a wall with espeak (required by phonemizerI think).

@fajrmn
Copy link

fajrmn commented Jan 9, 2025

Same issue
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/phonemizer/backend/base.py", line 77, in init
raise RuntimeError( # pragma: nocover
RuntimeError: espeak not installed on your system

@fajrmn
Copy link

fajrmn commented Jan 9, 2025

It looks like it needs the espeak for the arm version. by default, it installs X64 ver
I got it to work by installing
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
arch -arm64 /opt/homebrew/bin/brew install speak

modify the Kokoro module to use the Homebrew ARM64 path:

App runs but the Koroko module seem to error === Generating audio for: extracted_pdf
Error occurred: 'list' object has no attribute 'endswith'

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

2 participants