myshell-ai / MeloTTS

High-quality multi-lingual text-to-speech library by MyShell.ai. Support English, Spanish, French, Chinese, Japanese and Korean.
MIT License
4.49k stars 561 forks source link

Adding support to install on Debian 12 #65

Open rikigeek opened 6 months ago

rikigeek commented 6 months ago

On a Debian 12, I faced multiple issues to install MeloTTS locally. Here are the results of my fixes

  1. torch pip package should not be limited to versions bellow 2.0. This generates some conflict with torchaudio. The version I use for torch is 2.2.1. This works fine
  2. fugashi pip package is necessary to support mecab-config. Otherwise, we have a "mecab-config: no such file or directory" during the installation. Moreover, I had to install mecab-python3 and libmecab-dev application on the system (with apt)

That's enough. I didn't face any problem at usage. I tested EN and FR language generation

I didn't test this install on other systems

andrewssobral commented 5 months ago

I am also having the same issue on my Mac M1: