Resource cmudict not found. Please use the NLTK Downloader to obtain the resource:

Traceback (most recent call last): File
“/home/oxwod/anaconda3/envs/python35/lib/python3.5/site-packages/nltk/corpus/util.py”,
line 86, in __load
root = nltk.data.find(‘{}/{}’.format(self.subdir, zip_name)) File
“/home/oxwod/anaconda3/envs/python35/lib/python3.5/site-packages/nltk/data.py”,
line 701, in find
raise LookupError(resource_not_found) LookupError:


 Resource cmudict not found.
 Please use the NLTK Downloader to obtain the resource:

  >>> import nltk
  >>> nltk.download('cmudict')

DeepVoice3_pytorch的时候遇到如上问题。
其实是有些东西没有下载
进入python console,输入

import nltk
nltk.download()

然后在弹框中点击download就ok了
传送门
Resource cmudict not found. Please use the NLTK Downloader to obtain the resource:_第1张图片

你可能感兴趣的:(错误,python,ffmpeg)