bzdjamboo bzdjamboo - 6 months ago 79
Python Question hangs on OS X
is hanging for me on OS X. Here is what happens:

>>> Python 2.7.2 (default, Oct 11 2012, 20:14:37)
>>> [GCC 4.2.1 Compatible Apple Clang 4.0 (tags/Apple/clang-418.0.60)] on darwin
>>> import nltk

showing info

After that, it completely freezes.

I installed everything according to the ntlk install page. I'm on OS X 10.8.3. On my Linux box, it just works with no problems.

Any ideas?


Try running nltk.download_shell() instead as there is most likely an issue displaying the downloader UI. Running the download_shell() function will bypass it.