2 Replies Latest reply on Mar 25, 2015 3:04 AM by oloynet

    sqlite3 with python on edison don't works

    oloynet

      Hello,

       

      I have install sqlite3 from the repo http://repo.opkg.net/edison/repo/core2-32

      opkg install sqlite3

       

      I try unsuccessfully to use sqlite3 with python on Edison.

      Normaly, sqlite3 is integrated with Python since version 2.5

      https://docs.python.org/2/library/sqlite3.html

       

      root@edison:~# python
      Python 2.7.3 (default, Dec  9 2014, 18:06:54) 
      [GCC 4.8.2] on linux2
      Type "help", "copyright", "credits" or "license" for more information.
      >>> import sqlite3
      Traceback (most recent call last):
        File "<stdin>", line 1, in <module>
      ImportError: No module named sqlite3
      

       

      I try to install with PIP like

      pip install pysqlite

       

      The version installed is sqlite2

      root@edison:/usr/lib/python2.7/site-packages/pysqlite2

       

      Is anybody have a solution ?

       

      Olivier