Install nltk data

I search many times and didn’t get good information to install NLTK for Python 3.6 for windows or earlier version.
There are not well documents issued with python installation on 64-bit or 32-bit Windows.
If you try any of the NLTK setups, “nltk-3.2.4.win32.exe (md5)”, you’ll get “Python is not found in the registry” error.

python-version-32-required

I found the solution to install manually NLTK installation-package:
Step 1:
Install Python from the link https://www.python.org/downloads/
Step 2:
Download nltk package nltk-3.2.4.tar.gz (md5) from the link https://pypi.python.org/pypi/nltk
Don’t download nltk-3.2.4.win32.exe (md5) because its showing the error “Python is not found in the registry”
Step 3:
When the tar zip file download is completed, copy the file nltk-3.2.4.tar.gz (md5) into the c:\Python directory or where python3.6 is installed and then extract nltk-3.2.4.tar.gz (md5) the file, using winzip.
After extraction you may get the following files in the directory C:\Python36\nltk-3.2.4

nltk-directory

Step 4:
Strat command line, change the directory
CD C:\Python36\nltk-3.2.4
Run the command

python-cd-command-line.png

Step 5:
After the setup.py install command, installation finished, copy the nltk dir from the path C:\Python36\ nltk-3.2.4\nltk, then past it into the following directory, C:\Python36\Lib\site-packages
You may get the following files and directories.

site-packages-nltk-directory.png

Step 6:
Start the Python command line
Type the following command
>>> import nltk
>>> nltk.download()

python-nltk-download.png

It is working, and open the NLTK Downloader window

NLTK-Downloader-1.png

Now press the Download button and sit back
The Download started.

nltk-download.png

Good luck

our Email : shaigle@gmail.com