Installing NLTK

NLTK requires Python versions 2.6-2.7 or 3.2+

Mac/Unix

  1. Install Setuptools: http://pypi.python.org/pypi/setuptools
  2. Install Pip: run sudo easy_install pip
  3. Install Numpy (optional): run sudo pip install -U numpy
  4. Install NLTK: run sudo pip install -U nltk
  5. Test installation: run python then type import nltk

Windows

These instructions assume that you do not already have Python installed on your machine.

32-bit binary installation

  1. Install Python: http://www.python.org/download/releases/3.4.1/ (avoid the 64-bit versions)
  2. Install Numpy (optional): http://sourceforge.net/projects/numpy/files/NumPy/1.8.1/numpy-1.8.1-win32-superpack-python3.4.exe
  3. Install NLTK: http://pypi.python.org/pypi/nltk
  4. Test installation: Start>Python34, then type import nltk

Installing Third-Party Software

Please see: https://github.com/nltk/nltk/wiki/Installing-Third-Party-Software