Open rikigeek opened 6 months ago
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?
On a Debian 12, I faced multiple issues to install MeloTTS locally. Here are the results of my fixes
torch
pip 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 finemecab-python3
andlibmecab-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