安装与Python 2兼容的较旧(但稳定)的NLTK版本

问题描述 投票:1回答:1

我想为python2.7安装更旧(但稳定)的NLTK版本。我尝试运行命令:pip install nltk === x.x.x,但是终端报告许多错误。我想知道是否有可以下载nltk的存储库,或者是否有其他方法可以解决此问题。谢谢

python-2.7 nlp nltk python-2.x
1个回答
0
投票

https://www.nltk.org/news.html开始,v3.4.5应该是Python 2支持的最新版本。

pip install nltk==3.4.5

注:但是,强烈建议在Python 3中使用NLTK。

© www.soinside.com 2019 - 2024. All rights reserved.