【待续】jupyter启动时提示「No module named 'pysqlite2'」
程序员文章站
2022-03-03 16:17:18
...
通过jupyter notebook
启动jupyter,发现有问题
V100 00_project >jupyter notebook
Traceback (most recent call last):
File "/home/suy/.pyenv/versions/3.6.8/lib/python3.6/site-packages/notebook/services/sessions/sessionmanager.py", line 9, in <module>
import sqlite3
File "/home/suy/.pyenv/versions/3.6.8/lib/python3.6/sqlite3/__init__.py", line 23, in <module>
from sqlite3.dbapi2 import *
File "/home/suy/.pyenv/versions/3.6.8/lib/python3.6/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 "/home/suy/.pyenv/versions/3.6.8/bin/jupyter-notebook", line 5, in <module>
from notebook.notebookapp import main
File "/home/suy/.pyenv/versions/3.6.8/lib/python3.6/site-packages/notebook/notebookapp.py", line 83, in <module>
from .services.sessions.sessionmanager import SessionManager
File "/home/suy/.pyenv/versions/3.6.8/lib/python3.6/site-packages/notebook/services/sessions/sessionmanager.py", line 12, in <module>
from pysqlite2 import dbapi2 as sqlite3
ModuleNotFoundError: No module named 'pysqlite2'
这里提示缺少库