>From your Python path (/usr/local/lib/python3.5), you are likely using a
locally-built Python that was compiled without SQLite support, there's some
more details here:

http://stackoverflow.com/questions/1545479/force-python-to-forego-native-sqlite3-and-use-the-installed-latest-sqlite3-ver

You need to rebuild your python with proper sqlite support.

Cheers

f


On Fri, Dec 16, 2016 at 7:17 PM, Jay Kumar <[email protected]> wrote:

> Traceback (most recent call last):
>   File 
> "/usr/local/lib/python3.5/site-packages/notebook/services/sessions/sessionmanager.py",
> line 10, in <module>
>     import sqlite3
>   File "/usr/local/lib/python3.5/sqlite3/__init__.py", line 23, in
> <module>
>     from sqlite3.dbapi2 import *
>   File "/usr/local/lib/python3.5/sqlite3/dbapi2.py", line 27, in <module>
>     from _sqlite3 import *
> ImportError: No module named '_sqlite3'
>
> During handling of the above exception, another exception occurred:
>
> Traceback (most recent call last):
>   File "/usr/local/bin/jupyter-notebook", line 7, in <module>
>     from notebook.notebookapp import main
>   File "/usr/local/lib/python3.5/site-packages/notebook/notebookapp.py",
> line 65, in <module>
>     from .services.sessions.sessionmanager import SessionManager
>   File 
> "/usr/local/lib/python3.5/site-packages/notebook/services/sessions/sessionmanager.py",
> line 13, in <module>
>     from pysqlite2 import dbapi2 as sqlite3
> ImportError: No module named 'pysqlite2'
>
> --
> You received this message because you are subscribed to the Google Groups
> "Project Jupyter" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/jupyter/71352cca-a3de-4930-bac5-e15b306b337c%40googlegroups.com
> <https://groups.google.com/d/msgid/jupyter/71352cca-a3de-4930-bac5-e15b306b337c%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Fernando Perez (@fperez_org; http://fperez.org)
fperez.net-at-gmail: mailing lists only (I ignore this when swamped!)
fernando.perez-at-berkeley: contact me here for any direct mail

-- 
You received this message because you are subscribed to the Google Groups 
"Project Jupyter" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jupyter/CAHAreOoiCYdL_2EVEDu6u%2B3M%3DUMNVuKrQOUyLP-%3DsYYBy8ubDg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to