【发布时间】:2017-01-30 05:58:09
【问题描述】:
我已经使用命令在python3.5版本上安装了nltk:
sudo apt-get install python3-nltk 当这不起作用时,我也尝试使用 pip
当我尝试在 python3 提示符上检查安装时,它给了我这样的错误: enter image description here
我该如何解决这个错误?
【问题讨论】:
-
nltk 尚未安装,因此您无法导入它。请提供您尝试安装 nltk 时在终端中遇到的错误。
-
sudo apt-get install python3-pip && sudo pip3 install -U nltk
标签: nltk