import nltk
nltk.download()
Once the NLTK Downloader starts
d) Download l) List u) Update c) Config h) Help q) Quit
Downloader> d
Download which package (l=list; x=cancel)? Identifier> punkt
等待下载完毕即可,如下图:
其他方法可参考:https://stackoverflow.com/questions/26570944/resource-utokenizers-punkt-english-pickle-not-found