There are some tricky stuffs if you are planning to install nltk for your Python2.7 (Note, only Python 2.x is supported right now) on 64-bit win7 system. Generally, all these awkward trouble are caused by stupid windows installer, which may be designed for 32-bit system regardless of 64-bit case. Here comes my experience for installing nltk pkg for my Python2.7 on my 64-bit win7 system.
1. General procedure from nltk.org (you will find this is not gonna work…but for reference it is good)
2. Python2.7 is not in the registry?
http://stackoverflow.com/questions/3652625/installing-setuptools-on-64-bit-windows
3. Get the 64-bit numpy
http://www.lfd.uci.edu/~gohlke/pythonlibs/#numpy (BTW, this site is also a great repository for all unofficial python libs)
4. Get the 64-bit pypi installed (http://pypi.python.org/pypi/setuptools)
http://peak.telecommunity.com/dist/ez_setup.py
Move this ez_setup.py under your Python27scripts and run this ez_setup.py. You will then get the easy_install.exe, which is mentioned in nltk.org. And now, run ‘pip install pyyaml nltk‘
5. Get the extra PyLib?
There may be warning complaining missing PyLib when you try ‘import nltk’ and ‘help(nltk)’ – no problem, let us make it right.