Python is missing sqlite library

Home Page Forums Network Management ZeroShell Python is missing sqlite library

This topic contains 1 reply, has 2 voices, and was last updated by  Alex 7 months, 3 weeks ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #44922

    iulyb
    Member

    Hi,
    I tried to use python and I am getting this:


    ase.py", line 33, in
    from sqlite3 import dbapi2 as Database
    File "/opt/python/lib/python3.5/sqlite3/__init__.py", line 23, in

    from sqlite3.dbapi2 import *
    File "/opt/python/lib/python3.5/sqlite3/dbapi2.py", line 27, in

    from _sqlite3 import *
    ImportError: No module named '_sqlite3'

    It seems that python has been compiled without sqlite

    #63838

    Alex
    Participant

    python doesn’t compile python modules in its binary.. you would have to install the sqlite3 module..

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.