5 Replies Latest reply on Jan 27, 2017 12:53 PM by Intel Corporation Branched to a new discussion.

    NLTK (Natural language processing) installation problems.

    bhanukishan

      I am using Poky (Yocto Project Reference Distro) 1.7.2 in in my intel edison Arduino Breakout Board. I wanted to install NLTK tool kit in edison.

      1. Installed nltk using pip

      2. To download nltk_data., I am trying to import nltk but I get this info in the shell, can someone help me out with this problem,

       

      "

      >>> import nltk

      Traceback (most recent call last):

        File "<stdin>", line 1, in <module>

        File "/usr/lib/python2.7/site-packages/nltk/__init__.py", line 137, in <module >

          from nltk.stem import *

        File "/usr/lib/python2.7/site-packages/nltk/stem/__init__.py", line 29, in <module>

          from nltk.stem.snowball import SnowballStemmer

        File "/usr/lib/python2.7/site-packages/nltk/stem/snowball.py", line 24, in <module>                                                                           

          from nltk.corpus import stopwords

        File "/usr/lib/python2.7/site-packages/nltk/corpus/__init__.py", line 66, in <module>                                                                           

          from nltk.corpus.reader import *

        File "/usr/lib/python2.7/site-packages/nltk/corpus/reader/__init__.py", line 105, in <module>                                                                           

          from nltk.corpus.reader.panlex_lite import *

        File "/usr/lib/python2.7/site-packages/nltk/corpus/reader/panlex_lite.py", line 15, in <module>                                                                           

          import sqlite3

      ImportError: No module named sqlite3

      "

      Also is the Yocko image that I am using is an old one? Is a new version available for 32 bit windows 7. Which is the best image someone can suggest to install in edison for building robots, AI and machine learning etc?