Unable to import nltk in NetBeans

Posted by afs on Stack Overflow See other posts from Stack Overflow or by afs
Published on 2010-05-07T05:25:35Z Indexed on 2010/05/07 5:28 UTC
Read the original article Hit count: 400

Filed under:
|
|

Hello all, I am trying to import NLTK in my python code and I get this error:

Traceback (most recent call last): File "/home/afs/NetBeansProjects/NER/getNE_followers.py", line 7, in import nltk ImportError: No module named nltk

I am using NetBeans: 6.7.1, Python 2.6 NLTK. My NLTK module is installed in /usr/local/lib/python2.6/dist-packages/nltk/ and I have added this in Python paths in Netbeans.

What am I missing here? Thanks in advance.

© Stack Overflow or respective owner

Related posts about nltk

Related posts about python