mimic2 icon indicating copy to clipboard operation
mimic2 copied to clipboard

__main__ Is not a package

Open mybuttsd opened this issue 5 years ago • 2 comments

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?

mybuttsd avatar Mar 29 '19 00:03 mybuttsd

Did you install the requirements.txt?

el-tocino avatar Mar 29 '19 05:03 el-tocino

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

Ruthvicp avatar Apr 02 '19 21:04 Ruthvicp