jupyter / jupyter/notebook

Jupyter lab launch errors

Open
#4,526 3 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

Hi there, I'm new to all this.

```
Environment:
windows 7
python2
python3
```

When I try to launch Jupyter lab I get the folowing errors:

```
C:\Users\Administrator>jupyter lab
Traceback (most recent call last):
File "c:\users\administrator\appdata\local\programs\python\python38\lib\runpy.
py", line 192, in _run_module_as_main
return _run_code(code, main_globals, None,
File "c:\users\administrator\appdata\local\programs\python\python38\lib\runpy.
py", line 85, in _run_code
exec(code, run_globals)
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python38\Scripts\ju
pyter-lab.EXE\__main__.py", line 9, in
File "c:\users\administrator\appdata\local\programs\python\python38\lib\site-p
ackages\jupyter_core\application.py", line 266, in launch_instance
return super(JupyterApp, cls).launch_instance(argv=argv, **kwargs)
File "c:\users\administrator\appdata\local\programs\python\python38\lib\site-p
ackages\traitlets\config\application.py", line 657, in launch_instance
app.initialize(argv)
File "", line 2, in initialize
File "c:\users\administrator\appdata\local\programs\python\python38\lib\site-p
ackages\traitlets\config\application.py", line 87, in catch_config_error
return method(app, *args, **kwargs)
File "c:\users\administrator\appdata\local\programs\python\python38\lib\site-p
ackages\notebook\notebookapp.py", line 1628, in initialize
self.init_webapp()
File "c:\users\administrator\appdata\local\programs\python\python38\lib\site-p
ackages\jupyterlab\labapp.py", line 353, in init_webapp
super().init_webapp(*args, **kwargs)
File "c:\users\administrator\appdata\local\programs\python\python38\lib\site-p
ackages\notebook\notebookapp.py", line 1407, in init_webapp
self.http_server.listen(port, self.ip)
File "c:\users\administrator\appdata\local\programs\python\python38\lib\site-p
ackages\tornado\tcpserver.py", line 152, in listen
self.add_sockets(sockets)
File "c:\users\administrator\appdata\local\programs\python\python38\lib\site-p
ackages\tornado\tcpserver.py", line 165, in add_sockets
self._handlers[sock.fileno()] = add_accept_handler(
File "c:\users\administrator\appdata\local\programs\python\python38\lib\site-p
ackages\tornado\netutil.py", line 279, in add_accept_handler
io_loop.add_handler(sock, accept_handler, IOLoop.READ)
File "c:\users\administrator\appdata\local\programs\python\python38\lib\site-p
ackages\tornado\platform\asyncio.py", line 99, in add_handler
self.asyncio_loop.add_reader(fd, self._handle_events, fd, IOLoop.READ)
File "c:\users\administrator\appdata\local\programs\python\python38\lib\asynci
o\events.py", line 498, in add_reader
raise NotImplementedError
NotImplementedError
```

I used to use the following command to install Jupyter lab:
```
pip install jupyterlab
pip install --userbinPATHjupyter lab
```

Is there anyone who can help me with this problem?

Contributor guide

Open the contributing guide

Research direction

Start by reproducing `jupyter lab` on the reported Windows 7, Python 2/Python 3 environment and trace the failure through `jupyterlab/labapp.py`, `notebook/notebookapp.py`, and `tornado/platform/asyncio.py`. Done means identifying a reproducible cause and documenting a confirmed resolution or unsupported-environment diagnosis; the issue does not name a test or expected code change.

Written by the indexing model from the issue text.

Assessment

Tech stack
jupyter, python
Domain
backend, cli
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.