NLTK库nltk.download()安装失败/Resource punkt not found.解决方法
- 到github/镜像站 https://gitee.com/qwererer2/nltk_data/tree/gh-pages/ 下载package。
- 解压后放到C:\Users\你的用户名\AppData\Roaming\nltk_data
- 在nltk_data找到not found的包(比如punkt)并解压到当前文件夹。
- 如果还是不行,把包文件夹从package文件夹拖出来,直接放到\nltk_data下。