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

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

Open
MrDiver opened this issue Aug 13, 2023 · 0 comments
Open

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

MrDiver opened this issue Aug 13, 2023 · 0 comments
Assignees
Labels
installation Problem with installing

Comments

@MrDiver
Copy link

MrDiver commented Aug 13, 2023

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

@MrDiver MrDiver added the installation Problem with installing label Aug 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
installation Problem with installing
Projects
None yet
Development

No branches or pull requests

2 participants