vits icon indicating copy to clipboard operation
vits copied to clipboard

ModuleNotFoundError: No module named 'unidecode'

Open amrzv opened this issue 2 years ago • 3 comments

Hi. When running notebook in colab the ModuleNotFoundError error is raised during

from data_utils import TextAudioLoader, TextAudioCollate, TextAudioSpeakerLoader, TextAudioSpeakerCollate

image

If you pip install unidecode, then another error is raised on the same import ModuleNotFoundError: No module named 'phonemizer'

After installing phonemizer, another error is raised during

from models import SynthesizerTrn

ModuleNotFoundError: No module named 'monotonic_align.monotonic_align'

image

amrzv avatar Aug 08 '23 21:08 amrzv

look at step 4 of readme.md

Cython-version Monotonoic Alignment Search cd monotonic_align python setup.py build_ext --inplace

vidigal avatar Aug 14 '23 04:08 vidigal

Thanks. For some reasons the !pip install -r requirements.txt fails

  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  error: subprocess-exited-with-error
  
  × Preparing metadata (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> See above for output.
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
  Preparing metadata (pyproject.toml) ... error
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.

image

amrzv avatar Aug 22 '23 19:08 amrzv

remove all the versions added. Since some are outdated and not compatible with the current python version that you may be running.

rishav-bose0 avatar Sep 01 '23 12:09 rishav-bose0