piper: Unable to Install piper-tts on macOS Due to piper-phonemize 1.1.0 Dependency
Unable to Install piper-tts on macOS Due to piper-phonemize 1.1.0 Dependency
Description
I am trying to install piper-tts on macOS. However, the installation process fails because of its dependency on piper-phonemize version 1.1.0, which appears to lack a macOS-compatible distribution.
Steps to Reproduce
- On a macOS system, execute:
pip install piper-tts - Installation fails due to the dependency on
piper-phonemize1.1.0. - Direct installation of
piper-phonemize1.1.0 also fails:pip install piper-phonemize==1.1.0
Expected Behavior
I anticipated that piper-tts would be installed successfully on my macOS system without issues related to its dependencies.
Actual Behavior
The installation process is halted because there isn’t a macOS-compatible wheel or source distribution available for piper-phonemize version 1.1.0.
Additional Information
When inspecting the PyPI page for piper-phonemize 1.1.0, it’s evident that wheels are available for Linux (manylinux) for Python versions 3.9, 3.10, and 3.11, but no distributions are present for macOS.
Questions
- Is the lack of a macOS distribution for
piper-phonemize1.1.0 a known issue? - Are there plans to release a macOS-compatible wheel or source distribution for this version?
- As I am keen to use
piper-ttson macOS, is there a recommended workaround or alternative version that I can utilize in the interim?
Thank you for your prompt attention to this matter!
About this issue
- Original URL
- State: open
- Created 3 years ago
- Reactions: 20
- Comments: 20 (2 by maintainers)
This worked for me:
Source: https://github.com/rhasspy/piper/issues/509#issuecomment-2575654706
@jdeltoft
I’m getting
if you need to work around this download the wheel: https://github.com/rhasspy/piper-phonemize/issues/14#issuecomment-2094395478 so
@gabrielgq I have exact the same problem.
I posted steps that worked for me to https://github.com/rhasspy/piper-phonemize/issues/14
Maybe related to rhasspy/piper-phonemize#11 ? When merged, check if this fixes the issue.
@williamcorney I did compile it, or I think… I did have to download the piper-phonemize into the lib folder. I download a few architectures (macos-aarch64 and Linux-arm64) The compilation work and it generated a few executables in the build folder, it even past the single test during compilation. The piper executable wasnt install in any “bin” or “script” folder of the system that i notice I did continue anyway and downloaded a few models and try the piper executable with the "echo … | piper … " command When executing the piper executable in the build folder it reports:
/usr/share/espeak-ng-data/phontab': No such file or directoryBut that folder was used during compilation from:piper/install/espeak-ng-data/phondataI did try to link, copy and move… to that path the folder, but I couldnt due to MacOS folder system (or thats what i thought, Im not very expert on MacOS) And I dont know if I can set piper to use anohter path.I install espeak-ng with ports but didnt do the trick either.
For the moment I’m stuck.
PS: The test generate a wav file that has speech… so It must work somehow… I think
Yeah, same on my windows. A shame, I really wanted to try this out!