您的位置:首页 > 其它

ImportError: cannot import name wordnet

2013-10-18 16:11 453 查看
ubuntu安装好nltk,调用时,出现问题:



解决:

Install Setuptools: http://pypi.python.org/pypi/setuptools

Install Pip: run sudo easy_install pip

Install Numpy (optional): run sudo pip install -U numpy

Install PyYAML and NLTK: run sudo pip install -U pyyaml nltk

Test installation: run python then type import nltk
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: