Jupyter notebook does not launch
- Dominant language
- Jupyter Notebook
- Stars
- 13.3k
- Forks
- 5.8k
- Avg merge
- 6d 11h
- Merged PRs (30d)
- 7
Description
I just downloaded the latest version of anaconda, spyder works fine, but I can not lauch jupyter notebook.
The error message is shown as below:
(base) C:\Users\86182>jupyter notebook
[I 00:15:04.842 NotebookApp] JupyterLab extension loaded from C:\Users\86182\Anaconda3\lib\site-packages\jupyterlab
[I 00:15:04.842 NotebookApp] JupyterLab application directory is C:\Users\86182\Anaconda3\share\jupyter\lab
[I 00:15:04.844 NotebookApp] Serving notebooks from local directory: D:\Code\jupyter-notebook
[I 00:15:04.844 NotebookApp] The Jupyter Notebook is running at:
[I 00:15:04.844 NotebookApp] http://localhost:8888/?token=47589ecc3000844b09b7bbdbe9a21bc2834cbabac89273ad
[I 00:15:04.844 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[C 00:15:04.900 NotebookApp]
To access the notebook, open this file in a browser:
file:///C:/Users/86182/AppData/Roaming/jupyter/runtime/nbserver-10340-open.html
Or copy and paste one of these URLs:
http://localhost:8888/?token=47589ecc3000844b09b7bbdbe9a21bc2834cbabac89273ad
[I 00:15:04.900 NotebookApp] Shutting down 0 kernels
Traceback (most recent call last):
File "C:\Users\86182\Anaconda3\Scripts\jupyter-notebook-script.py", line 10, in
sys.exit(main())
File "C:\Users\86182\Anaconda3\lib\site-packages\jupyter_core\application.py", line 266, in launch_instance
return super(JupyterApp, cls).launch_instance(argv=argv, **kwargs)
File "C:\Users\86182\Anaconda3\lib\site-packages\traitlets\config\application.py", line 658, in launch_instance
app.start()
File "C:\Users\86182\Anaconda3\lib\site-packages\notebook\notebookapp.py", line 1806, in start
self.io_loop.start()
File "C:\Users\86182\Anaconda3\lib\site-packages\tornado\platform\asyncio.py", line 148, in start
self.asyncio_loop.run_forever()
File "C:\Users\86182\Anaconda3\lib\asyncio\base_events.py", line 539, in run_forever
self._run_once()
File "C:\Users\86182\Anaconda3\lib\asyncio\base_events.py", line 1739, in _run_once
event_list = self._selector.select(timeout)
File "C:\Users\86182\Anaconda3\lib\selectors.py", line 323, in select
r, w, _ = self._select(self._readers, self._writers, [], timeout)
File "C:\Users\86182\Anaconda3\lib\selectors.py", line 314, in _select
r, w, x = select.select(r, w, w, timeout)
OSError: [WinError 10038] 在一个非套接字上尝试了一个操作。
How can I fix this problem,Thanks!
Contributor guide
Research direction
Start by reproducing the failure on Windows with Anaconda using the `jupyter notebook` command, then trace the reported path through `jupyter-notebook-script.py`, `jupyter_core`, `traitlets`, `notebook`, and Tornado. Done means determining why the notebook server shuts down with WinError 10038 and verifying that the command launches successfully without that traceback.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- anaconda, jupyter-notebook, python
- Domain
- cli, tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100