NLTK requires Python versions 2.6-2.7 or 3.2+
- 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 NLTK: run
sudo pip install -U nltk
- Test installation: run
python
then typeimport nltk
These instructions assume that you do not already have Python installed on your machine.
- Install Python: http://www.python.org/download/releases/3.4.1/ (avoid the 64-bit versions)
- Install Numpy (optional): http://sourceforge.net/projects/numpy/files/NumPy/1.8.1/numpy-1.8.1-win32-superpack-python3.4.exe
- Install NLTK: http://pypi.python.org/pypi/nltk
- Test installation:
Start>Python34
, then typeimport nltk
Please see: https://github.com/nltk/nltk/wiki/Installing-Third-Party-Software