r9y9 / wavenet_vocoder

WaveNet vocoder
https://r9y9.github.io/wavenet_vocoder/
Other
2.3k stars 500 forks source link

cannot import name '__version__' #173

Closed csubaiyang closed 4 years ago

csubaiyang commented 4 years ago

After installing the package nnmnkwii. I tried to run the command

python preprocess.py ljspeech ~/data/LJSpeech-1.1 ./data/ljspeech \ --preset=20180510_mixture_lj_checkpoint_step000320000_ema.json

Then I got the error:

File "/home/by512/project1/wavenet_vocoder/wavenet_vocoder/init.py", line 4, in from .version import version ImportError: cannot import name 'version'

But I have checked the dir wavenet_vocoder/wavenet_vocoder/. there is a file named version.py. So it's confusing for me. Did anyone get the same issues as me? I hope to get your help. Pls!!!

csubaiyang commented 4 years ago

I've edited the version.py. Make the version to the version. Seems like the problem is worked out. But I don't know will this effects the following project? I think just because I'm a fish...... No matter, carry on.