pysqlite2 error while launching Jupyter notebook
Nobody has claimed this yet.
- Dominant language
- Jupyter Notebook
- Stars
- 13.3k
- Forks
- 5.8k
- Avg merge
- 6d 11h
- Merged PRs (30d)
- 7
Description
Hi,
I downloaded Anaconda and tried to launch Jupyter notebook but it cannot launch giving error as below:
Traceback (most recent call last):
File "D:\Lynda\Anaconda\lib\site-packages\notebook\services\sessions\sessionmanager.py", line 10, in
import sqlite3
File "D:\Lynda\Anaconda\lib\sqlite3_init_.py", line 23, in
from sqlite3.dbapi2 import *
File "D:\Lynda\Anaconda\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 "D:\Lynda\Anaconda\Scripts\jupyter-notebook-script.py", line 6, in
from notebook.notebookapp import main
File "D:\Lynda\Anaconda\lib\site-packages\notebook\notebookapp.py", line 86, in
from .services.sessions.sessionmanager import SessionManager
File "D:\Lynda\Anaconda\lib\site-packages\notebook\services\sessions\sessionmanager.py", line 13, in
from pysqlite2 import dbapi2 as sqlite3
ModuleNotFoundError: No module named 'pysqlite2'
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the traceback locations in notebook/services/sessions/sessionmanager.py and notebook/notebookapp.py, then inspect how sqlite3 and the pysqlite2 fallback are imported. Reproduce the Jupyter launch failure and identify a documented, testable resolution for the Windows DLL import error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- jupyter-notebook, python, sqlite
- Domain
- database, devtools
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100