MycroftAI / mimic2

Text to Speech engine based on the Tacotron architecture, initially implemented by Keith Ito.
Apache License 2.0
581 stars 103 forks source link

__main__ Is not a package #28

Open mybuttsd opened 5 years ago

mybuttsd commented 5 years ago

So I am trying to run python3 preprocess.py --dataset ljspeech, but here is the output:

root@robotics-pc:~/mimic2# sudo -H python3 preprocess.py --dataset ljspeech Traceback (most recent call last): File "preprocess.py", line 4, in from .tqdm import tqdm ModuleNotFoundError: No module named 'main.tqdm'; 'main' is not a package

Help?

el-tocino commented 5 years ago

Did you install the requirements.txt?

Ruthvicp commented 5 years ago

Create a virtual environment and activate it. Then try "pip install -r requirements.txt"