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
