Saturday, June 20, 2009

Lately, when I've started IDLE (the python editor), it can't find the NLTK files to import. When I install the NLTK toolkit, IDLE can find it the first time or two, and then loses it.

I've installed NLTK twice already and am about to do it a third time. Any ideas?

1 comment:

  1. There are probably some IDLE environmental variables, which include paths to libraries. One of those may have gotten changed, and an install doesn't always update them. IDLE may also be looking at system paths in an environment string. Check them for length and that the path is included. The IDLE documentation may also tell you what variable it looks in for the libraries.

    ReplyDelete