Getting error while running jupyter-notebook
Clash Royale CLAN TAG#URR8PPP
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty margin-bottom:0;
up vote
0
down vote
favorite
i am getting a traceback error while running jupyter-notebook. i am providing the screenshot of the traceback call :
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/notebook/services/sessions/sessionmanager.py", line 10, in <module>
import sqlite3
File "/usr/local/lib/python3.7/sqlite3/__init__.py", line 23, in <module>
from sqlite3.dbapi2 import *
File "/usr/local/lib/python3.7/sqlite3/dbapi2.py", line 27, in <module>
from _sqlite3 import *
ModuleNotFoundError: 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.7/site-packages/notebook/notebookapp.py", line 85, in <module>
from .services.sessions.sessionmanager import SessionManager
File "/usr/local/lib/python3.7/site-packages/notebook/services/sessions/sessionmanager.py", line 13, in <module>
from pysqlite2 import dbapi2 as sqlite3
ModuleNotFoundError: No module named 'pysqlite2'
anaconda
add a comment |Â
up vote
0
down vote
favorite
i am getting a traceback error while running jupyter-notebook. i am providing the screenshot of the traceback call :
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/notebook/services/sessions/sessionmanager.py", line 10, in <module>
import sqlite3
File "/usr/local/lib/python3.7/sqlite3/__init__.py", line 23, in <module>
from sqlite3.dbapi2 import *
File "/usr/local/lib/python3.7/sqlite3/dbapi2.py", line 27, in <module>
from _sqlite3 import *
ModuleNotFoundError: 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.7/site-packages/notebook/notebookapp.py", line 85, in <module>
from .services.sessions.sessionmanager import SessionManager
File "/usr/local/lib/python3.7/site-packages/notebook/services/sessions/sessionmanager.py", line 13, in <module>
from pysqlite2 import dbapi2 as sqlite3
ModuleNotFoundError: No module named 'pysqlite2'
anaconda
are you sure you installed pysqlite2 module for python3?
â Hossein Vatani
Jul 28 at 10:52
yeah (pysqlite2) is there and it is in the newest version but then also it giving this error
â Cad
Jul 28 at 14:03
@Cad Installsqlite2-devel
(Fedora, RHEL, CentOS) orpython-pysqlite2
(Debian, Ubuntu, Mint).
â Nasir Riley
Jul 28 at 16:59
what is your OS?
â Hossein Vatani
Jul 28 at 17:06
my os is kali linux 2018.2
â Cad
Jul 31 at 11:27
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
i am getting a traceback error while running jupyter-notebook. i am providing the screenshot of the traceback call :
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/notebook/services/sessions/sessionmanager.py", line 10, in <module>
import sqlite3
File "/usr/local/lib/python3.7/sqlite3/__init__.py", line 23, in <module>
from sqlite3.dbapi2 import *
File "/usr/local/lib/python3.7/sqlite3/dbapi2.py", line 27, in <module>
from _sqlite3 import *
ModuleNotFoundError: 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.7/site-packages/notebook/notebookapp.py", line 85, in <module>
from .services.sessions.sessionmanager import SessionManager
File "/usr/local/lib/python3.7/site-packages/notebook/services/sessions/sessionmanager.py", line 13, in <module>
from pysqlite2 import dbapi2 as sqlite3
ModuleNotFoundError: No module named 'pysqlite2'
anaconda
i am getting a traceback error while running jupyter-notebook. i am providing the screenshot of the traceback call :
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/notebook/services/sessions/sessionmanager.py", line 10, in <module>
import sqlite3
File "/usr/local/lib/python3.7/sqlite3/__init__.py", line 23, in <module>
from sqlite3.dbapi2 import *
File "/usr/local/lib/python3.7/sqlite3/dbapi2.py", line 27, in <module>
from _sqlite3 import *
ModuleNotFoundError: 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.7/site-packages/notebook/notebookapp.py", line 85, in <module>
from .services.sessions.sessionmanager import SessionManager
File "/usr/local/lib/python3.7/site-packages/notebook/services/sessions/sessionmanager.py", line 13, in <module>
from pysqlite2 import dbapi2 as sqlite3
ModuleNotFoundError: No module named 'pysqlite2'
anaconda
edited Jul 28 at 14:02
Hossein Vatani
45927
45927
asked Jul 28 at 9:28
Cad
11
11
are you sure you installed pysqlite2 module for python3?
â Hossein Vatani
Jul 28 at 10:52
yeah (pysqlite2) is there and it is in the newest version but then also it giving this error
â Cad
Jul 28 at 14:03
@Cad Installsqlite2-devel
(Fedora, RHEL, CentOS) orpython-pysqlite2
(Debian, Ubuntu, Mint).
â Nasir Riley
Jul 28 at 16:59
what is your OS?
â Hossein Vatani
Jul 28 at 17:06
my os is kali linux 2018.2
â Cad
Jul 31 at 11:27
add a comment |Â
are you sure you installed pysqlite2 module for python3?
â Hossein Vatani
Jul 28 at 10:52
yeah (pysqlite2) is there and it is in the newest version but then also it giving this error
â Cad
Jul 28 at 14:03
@Cad Installsqlite2-devel
(Fedora, RHEL, CentOS) orpython-pysqlite2
(Debian, Ubuntu, Mint).
â Nasir Riley
Jul 28 at 16:59
what is your OS?
â Hossein Vatani
Jul 28 at 17:06
my os is kali linux 2018.2
â Cad
Jul 31 at 11:27
are you sure you installed pysqlite2 module for python3?
â Hossein Vatani
Jul 28 at 10:52
are you sure you installed pysqlite2 module for python3?
â Hossein Vatani
Jul 28 at 10:52
yeah (pysqlite2) is there and it is in the newest version but then also it giving this error
â Cad
Jul 28 at 14:03
yeah (pysqlite2) is there and it is in the newest version but then also it giving this error
â Cad
Jul 28 at 14:03
@Cad Install
sqlite2-devel
(Fedora, RHEL, CentOS) or python-pysqlite2
(Debian, Ubuntu, Mint).â Nasir Riley
Jul 28 at 16:59
@Cad Install
sqlite2-devel
(Fedora, RHEL, CentOS) or python-pysqlite2
(Debian, Ubuntu, Mint).â Nasir Riley
Jul 28 at 16:59
what is your OS?
â Hossein Vatani
Jul 28 at 17:06
what is your OS?
â Hossein Vatani
Jul 28 at 17:06
my os is kali linux 2018.2
â Cad
Jul 31 at 11:27
my os is kali linux 2018.2
â Cad
Jul 31 at 11:27
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
0
down vote
Working purely off these errors:
ModuleNotFoundError: No module named '_sqlite3'
ModuleNotFoundError: No module named 'pysqlite2'
Do this:
$ sudo apt-get install libsqlite3-dev
Python
If the above has been confirmed you can continue by verifying that Python has what it needs to work with sqlite3. First start Python interactively:
$ python
Python 2.7.5 (default, Jul 13 2018, 13:06:57)
[GCC 4.8.5 20150623 (Red Hat 4.8.5-28)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>>
Now check that the sqlite3 module is installed and functioning. Import sqlite3
module:
>>> import sqlite3
Then check version details:
>>> sqlite3.version_info
(2, 6, 0)
>>> sqlite3.sqlite_version
'3.7.17'
>>> sqlite3.dbapi2
<module 'sqlite3.dbapi2' from '/usr/lib64/python2.7/sqlite3/dbapi2.pyc'>
>>>
To exit Python once done, at the >>>
prompt: Ctrl+D.
it is already in the newest version:- apt-get install libsqlite3-dev Reading package lists... Done Building dependency tree Reading state information... Done libsqlite3-dev is already the newest version (3.24.0-1).
â Cad
Jul 31 at 11:28
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
Working purely off these errors:
ModuleNotFoundError: No module named '_sqlite3'
ModuleNotFoundError: No module named 'pysqlite2'
Do this:
$ sudo apt-get install libsqlite3-dev
Python
If the above has been confirmed you can continue by verifying that Python has what it needs to work with sqlite3. First start Python interactively:
$ python
Python 2.7.5 (default, Jul 13 2018, 13:06:57)
[GCC 4.8.5 20150623 (Red Hat 4.8.5-28)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>>
Now check that the sqlite3 module is installed and functioning. Import sqlite3
module:
>>> import sqlite3
Then check version details:
>>> sqlite3.version_info
(2, 6, 0)
>>> sqlite3.sqlite_version
'3.7.17'
>>> sqlite3.dbapi2
<module 'sqlite3.dbapi2' from '/usr/lib64/python2.7/sqlite3/dbapi2.pyc'>
>>>
To exit Python once done, at the >>>
prompt: Ctrl+D.
it is already in the newest version:- apt-get install libsqlite3-dev Reading package lists... Done Building dependency tree Reading state information... Done libsqlite3-dev is already the newest version (3.24.0-1).
â Cad
Jul 31 at 11:28
add a comment |Â
up vote
0
down vote
Working purely off these errors:
ModuleNotFoundError: No module named '_sqlite3'
ModuleNotFoundError: No module named 'pysqlite2'
Do this:
$ sudo apt-get install libsqlite3-dev
Python
If the above has been confirmed you can continue by verifying that Python has what it needs to work with sqlite3. First start Python interactively:
$ python
Python 2.7.5 (default, Jul 13 2018, 13:06:57)
[GCC 4.8.5 20150623 (Red Hat 4.8.5-28)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>>
Now check that the sqlite3 module is installed and functioning. Import sqlite3
module:
>>> import sqlite3
Then check version details:
>>> sqlite3.version_info
(2, 6, 0)
>>> sqlite3.sqlite_version
'3.7.17'
>>> sqlite3.dbapi2
<module 'sqlite3.dbapi2' from '/usr/lib64/python2.7/sqlite3/dbapi2.pyc'>
>>>
To exit Python once done, at the >>>
prompt: Ctrl+D.
it is already in the newest version:- apt-get install libsqlite3-dev Reading package lists... Done Building dependency tree Reading state information... Done libsqlite3-dev is already the newest version (3.24.0-1).
â Cad
Jul 31 at 11:28
add a comment |Â
up vote
0
down vote
up vote
0
down vote
Working purely off these errors:
ModuleNotFoundError: No module named '_sqlite3'
ModuleNotFoundError: No module named 'pysqlite2'
Do this:
$ sudo apt-get install libsqlite3-dev
Python
If the above has been confirmed you can continue by verifying that Python has what it needs to work with sqlite3. First start Python interactively:
$ python
Python 2.7.5 (default, Jul 13 2018, 13:06:57)
[GCC 4.8.5 20150623 (Red Hat 4.8.5-28)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>>
Now check that the sqlite3 module is installed and functioning. Import sqlite3
module:
>>> import sqlite3
Then check version details:
>>> sqlite3.version_info
(2, 6, 0)
>>> sqlite3.sqlite_version
'3.7.17'
>>> sqlite3.dbapi2
<module 'sqlite3.dbapi2' from '/usr/lib64/python2.7/sqlite3/dbapi2.pyc'>
>>>
To exit Python once done, at the >>>
prompt: Ctrl+D.
Working purely off these errors:
ModuleNotFoundError: No module named '_sqlite3'
ModuleNotFoundError: No module named 'pysqlite2'
Do this:
$ sudo apt-get install libsqlite3-dev
Python
If the above has been confirmed you can continue by verifying that Python has what it needs to work with sqlite3. First start Python interactively:
$ python
Python 2.7.5 (default, Jul 13 2018, 13:06:57)
[GCC 4.8.5 20150623 (Red Hat 4.8.5-28)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>>
Now check that the sqlite3 module is installed and functioning. Import sqlite3
module:
>>> import sqlite3
Then check version details:
>>> sqlite3.version_info
(2, 6, 0)
>>> sqlite3.sqlite_version
'3.7.17'
>>> sqlite3.dbapi2
<module 'sqlite3.dbapi2' from '/usr/lib64/python2.7/sqlite3/dbapi2.pyc'>
>>>
To exit Python once done, at the >>>
prompt: Ctrl+D.
edited Jul 31 at 13:03
answered Jul 29 at 7:20
slmâ¦
232k65479649
232k65479649
it is already in the newest version:- apt-get install libsqlite3-dev Reading package lists... Done Building dependency tree Reading state information... Done libsqlite3-dev is already the newest version (3.24.0-1).
â Cad
Jul 31 at 11:28
add a comment |Â
it is already in the newest version:- apt-get install libsqlite3-dev Reading package lists... Done Building dependency tree Reading state information... Done libsqlite3-dev is already the newest version (3.24.0-1).
â Cad
Jul 31 at 11:28
it is already in the newest version:- apt-get install libsqlite3-dev Reading package lists... Done Building dependency tree Reading state information... Done libsqlite3-dev is already the newest version (3.24.0-1).
â Cad
Jul 31 at 11:28
it is already in the newest version:- apt-get install libsqlite3-dev Reading package lists... Done Building dependency tree Reading state information... Done libsqlite3-dev is already the newest version (3.24.0-1).
â Cad
Jul 31 at 11:28
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f459019%2fgetting-error-while-running-jupyter-notebook%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
are you sure you installed pysqlite2 module for python3?
â Hossein Vatani
Jul 28 at 10:52
yeah (pysqlite2) is there and it is in the newest version but then also it giving this error
â Cad
Jul 28 at 14:03
@Cad Install
sqlite2-devel
(Fedora, RHEL, CentOS) orpython-pysqlite2
(Debian, Ubuntu, Mint).â Nasir Riley
Jul 28 at 16:59
what is your OS?
â Hossein Vatani
Jul 28 at 17:06
my os is kali linux 2018.2
â Cad
Jul 31 at 11:27