ManimCommunity / manim-voiceover

Manim plugin for all things voiceover
https://voiceover.manim.community/en/stable
MIT License
186 stars 25 forks source link

Whe trying to use the TTS package missing error message #64

Open MrDiver opened 1 year ago

MrDiver commented 1 year ago

Currently when importing the coqui service it just prints that the package is not installed if something fails but there is still an error message attached

try:
    from TTS.api import TTS
except ImportError as e:
    logger.error(e)
    logger.error("Missing packages. Run `pip install TTS` to use CoquiService.")

This would solve the problem and report the actual error to the user

  WARNING  Japanese requires mecab-python3 and unidic-lite.  

Like this in my case. I struggled a while to find out that installing the package is not the actual error