How to install on macOS with M1 #2177
Replies: 12 comments 12 replies
-
Is there a way to avoid mecab all together? All my troubles with this project always are because of this library. I managed to make it work in the past, but after updating to Ventura it's broken again |
Beta Was this translation helpful? Give feedback.
-
Thank you! This worked for me on M1 / Ventura. Just one note for others: Without specifying a python version when creating the conda environment, mine ended up with 3.11 which did not work. Manually specifying 3.9 at environment creation did the trick:
|
Beta Was this translation helpful? Give feedback.
-
For anyone else having this issue:
I had to |
Beta Was this translation helpful? Give feedback.
-
I was trying to get Japanese TTS working on my Macbook Air M1 Sonoma, and ran into the same issues with mecab. The above solution wasn't working, but I found an alternative solution. It's not as fast, but I don't really need speed for simple TTS. I created an emulated UTM VM for Debian 12 amd64, with 2GB of RAM. During the installer I didn't install any desktop, but did install the SSH server. After installing, I set the cpu to qemu64 + sse4.1 + sse4.2 + ssse3, deleted the display, and set up network to use Emulated VLAN and port forwarded TCP 22 to 22. I set up a paswordless ssh key to access the VM. Proceeded with installing TTS for Debian. Then I created some shell scripts with ssh+scp in my path to generating TTS. I also ran fstrim, and compressed the disk image to save some space. |
Beta Was this translation helpful? Give feedback.
-
Off to a good start…
Then
What's wrong again right from the start! |
Beta Was this translation helpful? Give feedback.
-
Hey ! |
Beta Was this translation helpful? Give feedback.
-
Sorry for the necro. Despite following the steps, I'm still getting the same issue, "ERROR: Could not build wheels for TTS, which is required to install pyproject.toml-based projects" I'm running M3 Pro on Sonoma 14.3. Would appreciate any help |
Beta Was this translation helpful? Give feedback.
-
I followed the steps but at the step: |
Beta Was this translation helpful? Give feedback.
-
Let me know if this helps.
|
Beta Was this translation helpful? Give feedback.
-
Following solution works on my M2 $ python
And then |
Beta Was this translation helpful? Give feedback.
-
I have managed to install this. Can someone please help me launch the WebUI? Thank you in advance |
Beta Was this translation helpful? Give feedback.
-
on M3 Max I was still getting this error: Followed this, and then it worked, not sure what exactly did the trick:
You may also need Xcode command line tools. If you haven't installed them yet, run:
This would avoid the need to compile the package from source.
|
Beta Was this translation helpful? Give feedback.
-
I struggled to install TTS on my MBP with M1 Pro as it's not officially supported. After much searching, thanks to previously published guidance from @jeffrafter, I managed to succeed. This is the procedure (assuming you have
miniconda
installed):conda create --name coqui python=3.9
< you can replace "coqui" with whichever name you likeconda activate coqui
< before that "coqui" here is the same name you decided for at step 2git clone https://github.com/coqui-ai/TTS.git
brew install mecab
< without this step, the "pip install" and "make install" commands will failbrew install espeak
< this is only necessary if you want to use thetts_models/en/vctk/vits
voicesconda install numpy scipy scikit-learn Cython
pip install -e .
< possibly unnecessary step as "make install" command should do the same. I didn't test without it.make install
At this point, launch TTS or TTS-Server as indicated in the documentation.
Beta Was this translation helpful? Give feedback.
All reactions