import nltk时报错OSError: [WinError 126] 找不到指定的模块。

先下载nltk库

pip install nltk

再进入python交互模式,输入下面的代码下载

import nltk
nltk.download()

猜你喜欢

转载自blog.csdn.net/weixin_50497501/article/details/130660444