Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding support to install on Debian 12 #65

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

rikigeek
Copy link

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

@rikigeek rikigeek changed the title adding support to install on Debian 12 Adding support to install on Debian 12 Mar 12, 2024
@andrewssobral
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants