Michael Elhadad
How to install NLTK with Python 2.7
The following steps allow you to install the latest Python 2.7 and nltk packages (tested under Windows) as of March 2012.
Download
Python 2.7.3
(March 2012)
Download
nltk
version 2.0b9
Download NumPy for Python 2.7:
NumPy 1.6.1 for 2.7
(version 1.6.1 as of March 2012)
Download
matplotlib for Windows Python 2.7
(version 1.1.0 as of March 2012)
Sometimes "import nltk" in Python complains about missing yaml - if this happens, reinstall YAML:
YAML Download
In Python, run:
>>> import nltk >>> nltk.download()
In the window that opens, select "all" and download all corpora.
Last modified Mar 22nd, 2012