Ask questionsNo module named 'TTS'

Python version: 3.6.6 requirements.txt installation successful. python3.6 develop successfully completed.

But TTS module not generated.

>>> from TTS.models.tacotron import Tacotron
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ModuleNotFoundError: No module named 'TTS'

Are there any paths to be set? I am not using virtualenv.

Tried the same with miniconda as well, but no luck.


Answer questions xoxoxo13102020

I am trying to run my code on collab but it gives me this error.

Traceback (most recent call last):
  File "TTS/", line 27, in <module>
    from TTS.utils.speakers import load_speaker_mapping, save_speaker_mapping, \
  File "/usr/local/lib/python3.6/dist-packages/TTS-0.0.3+b1935c9-py3.6.egg/TTS/utils/", line 4, in <module>
    from TTS.datasets.preprocess import get_preprocessor_by_name
  File "/usr/local/lib/python3.6/dist-packages/TTS-0.0.3+b1935c9-py3.6.egg/TTS/datasets/", line 9, in <module>
    from TTS.tts.utils.generic_utils import split_dataset
ModuleNotFoundError: No module named 'TTS.tts'

how to fix it?

Github User Rank List