(Python pip)import nltk

import nltk

  1. 下载nltk包 下载
    在这里插入图片描述
  2. 我将它放在Python的安装目录下了
    在这里插入图片描述
  3. 手动pip
    在这里插入图片描述

安装成功啦~

  1. 打开python的IDLE,运行如下代码
import nltk
nltk.download()

在这里插入图片描述
(做个路径的记录,嘻嘻)

猜你喜欢

转载自blog.csdn.net/hongguoya/article/details/105801216