about NLTK in Python

Greg Krohn ('rot-13') 'tert at pncen.hf'.decode
Fri Apr 4 07:04:45 CEST 2003

"abdi" <a_abdi406 at yahoo.com> wrote in message
news:97e89849.0304032019.28a612ad at posting.google.com...
> hi,
> I have question about the modules, I downloaded NLTK module for win32
> and I followed the instruction for installation from the web, having
> dowloaded I the wizardinstallation guided me to complete the
> installation and it installed the same directory as Python22,  I
> opened the python interactive window to check whether the installation
> was successfull I called the module as follows:
> >>> from nltk.token import *
> Traceback (most recent call last):
>   File "<interactive input>", line 1, in ?
> ImportError: No module named nltk.token
> >>>
> I consulted the FAQ before posting the question, so what is going on ?
> folder structure is as follows:
> C:\\Python22\\nltk1.0
> thanks in advance

Is C:\\Python22\\nltk1.0 in your PYTHONPATH?

More information about the Python-list mailing list