jupyter / jupyter/notebook

can not launch jupyter notebook after installing Anaconda3

Open
#4,935 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Jupyter Notebook
Stars
13.3k
Forks
5.8k
Avg merge
6d 11h
Merged PRs (30d)
7

Description

**I've just installed the anaconda on my windows 7 (32 bit).
on the anaconda prompt, python works fine.
but i can not launch jupyter notebook in the anaconda navigator.
The error message is shown as below:**
------------------------------------------------------
Traceback (most recent call last):
File "C:\ProgramData\Anaconda3\lib\site-packages\notebook\services\sessions\sessionmanager.py", line 9, in
import sqlite3
File "C:\ProgramData\Anaconda3\lib\sqlite3\__init__.py", line 23, in
from sqlite3.dbapi2 import *
File "C:\ProgramData\Anaconda3\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:\ProgramData\Anaconda3\Scripts\jupyter-notebook-script.py", line 6, in
from notebook.notebookapp import main
File "C:\ProgramData\Anaconda3\lib\site-packages\notebook\notebookapp.py", line 86, in
from .services.sessions.sessionmanager import SessionManager
File "C:\ProgramData\Anaconda3\lib\site-packages\notebook\services\sessions\sessionmanager.py", line 12, in
from pysqlite2 import dbapi2 as sqlite3
ModuleNotFoundError: No module named 'pysqlite2'
------------------------------------------

**also when i enter "jupyter notebook" on the anaconda prompt, I get the error message that jupyter.exe is not compatible with the version of Windows I'm running.

extra information: conda info**
--------------------------------------------------------------------
(base) C:\Users\user>conda info

active environment : base
active env location : C:\ProgramData\Anaconda3
shell level : 1
user config file : C:\Users\user\.condarc
populated config files : C:\Users\user\.condarc
conda version : 4.7.12
conda-build version : 3.18.8
python version : 3.7.3.final.0
virtual packages : __cuda=5.5
base environment : C:\ProgramData\Anaconda3 (writable)
channel URLs : https://repo.anaconda.com/pkgs/main/win-32
https://repo.anaconda.com/pkgs/main/noarch
https://repo.anaconda.com/pkgs/r/win-32
https://repo.anaconda.com/pkgs/r/noarch
https://repo.anaconda.com/pkgs/msys2/win-32
https://repo.anaconda.com/pkgs/msys2/noarch
package cache : C:\ProgramData\Anaconda3\pkgs
C:\Users\user\.conda\pkgs
C:\Users\user\AppData\Local\conda\conda\pkgs
envs directories : C:\ProgramData\Anaconda3\envs
C:\Users\user\.conda\envs
C:\Users\user\AppData\Local\conda\conda\envs
platform : win-32
user-agent : conda/4.7.12 requests/2.22.0 CPython/3.7.3 Windows/7 W
indows/6.1.7601
administrator : True
netrc file : None
offline mode : False

---------------------------------------------------
**Thank you so much in advance for your help!!**

Contributor guide

Open the contributing guide

Research direction

Start by reproducing `jupyter notebook` from the Anaconda prompt on the reported Windows 7 32-bit environment and review the traceback entries for `notebook/services/sessions/sessionmanager.py`, `sqlite3/dbapi2.py`, and `jupyter-notebook-script.py`. Compare the reported `conda info` details with the launch failures; done means Jupyter Notebook launches successfully from Anaconda Navigator and the prompt.

Written by the indexing model from the issue text.

Assessment

Tech stack
anaconda, jupyter-notebook, python
Domain
operating-systems, tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.