MeloTTS
MeloTTS copied to clipboard
Adding support to install on Debian 12
On a Debian 12, I faced multiple issues to install MeloTTS locally. Here are the results of my fixes
torchpip package should not be limited to versions bellow 2.0. This generates some conflict withtorchaudio. The version I use for torch is 2.2.1. This works fine- 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-python3andlibmecab-devapplication 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
I am also having the same issue on my Mac M1:
- I did 'pip install fugashi' before doing 'pip install -e .'
Building wheel for mecab-python3 (pyproject.toml) ... error
error: subprocess-exited-with-error
× Building wheel for mecab-python3 (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [11 lines of output]
WARNING setuptools_scm.pyproject_reading toml section missing 'pyproject.toml does not contain a tool.setuptools_scm section'
running bdist_wheel
running build
running build_py
creating build
creating build/lib.macosx-13-arm64-cpython-39
creating build/lib.macosx-13-arm64-cpython-39/MeCab
copying src/MeCab/__init__.py -> build/lib.macosx-13-arm64-cpython-39/MeCab
copying src/MeCab/cli.py -> build/lib.macosx-13-arm64-cpython-39/MeCab
running build_ext
error: [Errno 2] No such file or directory: 'mecab-config'
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for mecab-python3
Successfully built melotts
Failed to build mecab-python3
ERROR: Could not build wheels for mecab-python3, which is required to install pyproject.toml-based projects
(env) ➜ MeloTTS git:(main
does any one knows how to fix that?