jupyter / jupyter/notebook

Fresh install of anaconda 64 bit on windows . When trying to open jupyter notebook , it is producing errors .

Open
#3,519 1 comment 1 reaction 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 08:36:29.992 NotebookApp] The port 8888 is already in use, trying another port.
[I 08:36:29.992 NotebookApp] The port 8889 is already in use, trying another port.
[I 08:36:29.993 NotebookApp] The port 8890 is already in use, trying another port.
[I 08:36:33.029 NotebookApp] JupyterLab beta preview extension loaded from C:\Users\arora\Anaconda3\lib\site-packages\jupyterlab
[I 08:36:33.029 NotebookApp] JupyterLab application directory is C:\Users\arora\Anaconda3\share\jupyter\lab
[W 08:36:33.033 NotebookApp] Error loading server extension jupyterlab
Traceback (most recent call last):
File "C:\Users\arora\Anaconda3\lib\site-packages\jupyterlab\commands.py", line 321, in __init__
self._run(['node', 'node-version-check.js'], cwd=HERE, quiet=True)
File "C:\Users\arora\Anaconda3\lib\site-packages\jupyterlab\commands.py", line 1165, in _run
proc = Process(cmd, **kwargs)
File "C:\Users\arora\Anaconda3\lib\site-packages\jupyterlab\process.py", line 73, in __init__
self.proc = self._create_process(cwd=cwd, env=env)
File "C:\Users\arora\Anaconda3\lib\site-packages\jupyterlab\process.py", line 131, in _create_process
cmd[0] = which(cmd[0], kwargs.get('env'))
File "C:\Users\arora\Anaconda3\lib\site-packages\jupyterlab\jlpmapp.py", line 59, in which
raise ValueError(msg)
ValueError: Please install nodejs 5+ and npm before continuing installation. nodejs may be installed using conda or directly from the nodejs website.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "C:\Users\arora\Anaconda3\lib\site-packages\notebook\notebookapp.py", line 1454, in init_server_extensions
func(self)
File "C:\Users\arora\Anaconda3\lib\site-packages\jupyterlab\extension.py", line 111, in load_jupyter_server_extension
info = get_app_info(app_dir)
File "C:\Users\arora\Anaconda3\lib\site-packages\jupyterlab\commands.py", line 244, in get_app_info
handler = _AppHandler(app_dir, logger)
File "C:\Users\arora\Anaconda3\lib\site-packages\jupyterlab\commands.py", line 324, in __init__
raise ValueError(msg)
ValueError: Please install nodejs 5+ and npm before continuing installation. nodejs may be installed using conda or directly from the nodejs website.
[I 08:36:33.146 NotebookApp] Serving notebooks from local directory: C:\Users\arora
[I 08:36:33.146 NotebookApp] 0 active kernels
[I 08:36:33.146 NotebookApp] The Jupyter Notebook is running at:
[I 08:36:33.147 NotebookApp] http://localhost:8891/?token=bb87020b706de558d987fb40bdd2f7b9a5cdab7a1a32b55e
[I 08:36:33.147 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[C 08:36:33.151 NotebookApp]

Copy/paste this URL into your browser when you connect for the first time,
to login with a token:
http://localhost:8891/?token=bb87020b706de558d987fb40bdd2f7b9a5cdab7a1a32b55e
[I 08:36:33.232 NotebookApp] Accepting one-time-token-authenticated connection from ::1
[I 08:36:37.828 NotebookApp] Creating new notebook in

Contributor guide

Open the contributing guide

Research direction

Reproduce the fresh Windows Anaconda startup and begin with the traceback through jupyterlab/commands.py, process.py, jlpmapp.py, and notebook/notebookapp.py. Determine whether the missing Node.js/npm handling is expected for this installation; done means the reported startup error is resolved or clearly documented, with the relevant startup test or reproduction verified.

Written by the indexing model from the issue text.

Assessment

Tech stack
anaconda, jupyter-notebook, nodejs
Domain
devtools
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 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.