我最近在尝试启动jupyter笔记本电脑时遇到了这个问题。这会给我这个错误
Traceback (most recent call last):
File "C:\Users\Alacard\Anaconda3.1\lib\site-packages\notebook\services\sessions\sessionmanager.py", line 9, in
import sqlite3
File "C:\Users\Alacard\Anaconda3.1\lib\sqlite3\__init__.py", line 23, in
from sqlite3.dbapi2 import *
File "C:\Users\Alacard\Anaconda3.1\lib\sqlite3\dbapi2.py", line 27, in
from _sqlite3 import *
ImportError: DLL load failed: The specified procedure could not be found.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\Alacard\Anaconda3.1\Scripts\jupyter-notebook-script.py", line 6, in
from notebook.notebookapp import main
File "C:\Users\Alacard\Anaconda3.1\lib\site-packages\notebook\notebookapp.py", line 86, in
from .services.sessions.sessionmanager import SessionManager
File "C:\Users\Alacard\Anaconda3.1\lib\site-packages\notebook\services\sessions\sessionmanager.py", line 12, in
from pysqlite2 import dbapi2 as sqlite3
ModuleNotFoundError: No module named 'pysqlite2'
我尝试了完全重新安装,甚至安装了早期版本,但出现相同的错误。使这个奇怪的是,我能够在大约四个月前毫无问题地使用它,但是现在我明白了。如果有人有建议,请告诉我。