I've just installed the latest version of NLTK (2.0.4) from pip
on OSX 10.8.2. This version os OSX doesn't come with X11 and I like it that way, I don't want to install it. However when I try importing nltk
in python (2.7.2) an OSX dialog box pops up saying that I need to install X11??
This is probably due to Tkinter
and the NLTK downloader (or something similar) and probably just a matter of setting some configuration option somewhere to not fall back on X11, I just don't know where to set that option.
There's a bug report for nltk-0.9.5
that the tk
dependencies are required and this nltk
can't be run an a server that doesn't have gui libraries, but that issue has been marked as resolved a long time ago.
Notice that I'm not trying to run the nltk
downloader or anything else that should require a gui of any sorts, I'm simply trying to run import nltk
when the dialog pops up.
The NLTK install docs don't give any indication that X11 is required.
So how do I get nltk
to run on OSX 10.8 without X11?