捣鼓voice_clone时报错:
报错信息:
mport nltk
nltk.download('cmudict')
For more information see: https://www.nltk.org/data.html
Attempted to load tokenizers/punkt/PY3/english.pickle
Searched in:
- '/home/zhangshuai/nltk_data'
- '/home/zhangshuai/anaconda3/nltk_data'
- '/home/zhangshuai/anaconda3/share/nltk_data'
- '/home/zhangshuai/anaconda3/lib/nltk_data'
- '/usr/share/nltk_data'
- '/usr/local/share/nltk_data'
- '/usr/lib/nltk_data'
- '/usr/local/lib/nltk_data'
- ''
搞了半天,真的麻烦,什么改ip什么的,科学上网什么的都不行,rawgit有cmudict,但是git官方里面没有cmudict模块,
解决方法:
找一台windows电脑,
python:
mport nltk
nltk.download('cmudict')
把下载的文件随便拖到下面中的文件夹之中,我是直接放在第一个
Searched in:
- '/home/zhangshuai/nltk_data'
- '/home/zhangshuai/anaconda3/nltk_data'
- '/home/zhangshuai/anaconda3/share/nltk_data'
- '/home/zhangshuai/anaconda3/lib/nltk_data'
- '/usr/share/nltk_data'
- '/usr/local/share/nltk_data'
- '/usr/lib/nltk_data'
- '/usr/local/lib/nltk_data'
- ''
就是这么简单,用wsl ubuntu怎么都下载不下来,但是用windows,也没改ip什么的,一下载就到本地了