question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Bug] you have to install python-mecab-ko. install it...

See original GitHub issue

Describe the bug

when i start training my dataset which is not korean, I get detected: you have to install python-mecab-ko. install it…

and it proceed installing it automatically and it crashes.

Pls make it not install automatically for non-korean or at least fix it so it install it somehow and not crash every time.

To Reproduce

python3 ./train_vits.py

Expected behavior

no crash / successful install of python-mecab-ko / no installation attempted for my dataset

Logs

import pybind11
      ModuleNotFoundError: No module named 'pybind11'
      [end of output]

Environment

TTS latest dev (371772c355124556531c089770d6a8b110daf160)
OS Ubuntu 22.04.01

Additional context

No response

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:1
  • Comments:9 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
harmlessmancommented, Sep 11, 2022

As a result of checking, it seems that the problem is g2pkk, which is the library needed by KOREAN phonemizer. While modifying g2pkk, in order to escape this error, Please install eunjeon for windows and python-mecab-ko for linux.

Cause: g2pkk update

1reaction
neurlangcommented, Sep 10, 2022

TTS/TTS/tts/utils/text/korean/phonemizer.py

 from TTS.tts.utils.text.korean.korean import normalize
 
-g2p = G2p()
+g2p = None
 

in def korean_text_to_phonemes

+    if g2p is None:
+        g2p = G2p()
Read more comments on GitHub >

github_iconTop Results From Across the Web

mecab-ko - PyPI
This is a Python wrapper for the MeCab-ko morphological analyzer for Korean text. It works with Python 3.6 and greater. There are several...
Read more >
Python mecab package import error on Windows 'not defined'
The mecab package on pypi requires you to install MeCab separately if you are using a platform other than 32bit Python on Windows....
Read more >
Contribute to Transformers - Hugging Face
There are several ways you can contribute to Transformers: Fix outstanding issues with the existing code. Submit issues related to bugs or desired...
Read more >
Bug listing with status UNCONFIRMED as at 2022/12/21 06 ...
Bug :128538 - "sys-apps/coreutils: /bin/hostname should be installed from ... Keep track of files and directories you have accessed, so that you can...
Read more >
Considerations in adopting RHEL 8 Red Hat Enterprise Linux 8
The btrfs.ko kernel module; The btrfs-progs package; The snapper package. You can no longer create, mount, or install on Btrfs file systems in...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found