Skip to content

Jupyter Server: No Kernel #5182

@pawlowski6132

Description

@pawlowski6132

I've researched this issue for two days now and can't seem to figure this one out. I can't seem to get connected. I'm trying to run Jupyter Notebook in a few different configurations: In Studio code and stand alone. I'm having the exact same issues on two different wintel machines. One a corp machine, the other personal. I have Python 3.8 on both NON anaconda. Windows 10. Also having same issue with fresh Anaconda install on second machine.

I would really like to be able to use Jupyter Notebooks as I have three boys who are eager to start learning Python but, I can't get through this issue to use these. Any help would be greatly appreciated.

Here's the output details:

C:\Users\jopawlow>jupyter notebook --port 1900
[W 07:26:20.473 NotebookApp] Terminals not available (error was No module named 'winpty.cywinpty')
[I 07:26:20.473 NotebookApp] Serving notebooks from local directory: C:\Users\jopawlow
[I 07:26:20.474 NotebookApp] The Jupyter Notebook is running at:
[I 07:26:20.474 NotebookApp] http://localhost:1900/?token=5f82a2009bd791c87087e28adfbaedcbc97245735fc2292b
[I 07:26:20.474 NotebookApp] or http://127.0.0.1:1900/?token=5f82a2009bd791c87087e28adfbaedcbc97245735fc2292b
[I 07:26:20.474 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[C 07:26:20.798 NotebookApp]

To access the notebook, open this file in a browser:
    file:///C:/Users/jopawlow/AppData/Roaming/jupyter/runtime/nbserver-14700-open.html
Or copy and paste one of these URLs:
    http://localhost:1900/?token=5f82a2009bd791c87087e28adfbaedcbc97245735fc2292b
 or http://127.0.0.1:1900/?token=5f82a2009bd791c87087e28adfbaedcbc97245735fc2292b

[W 07:26:32.446 NotebookApp] 404 GET /undefined (127.0.0.1) 29.00ms referer=None
[I 07:26:32.470 NotebookApp] Creating new notebook in
[I 07:26:35.209 NotebookApp] Kernel started: d3d0d9f4-2058-4084-92da-9107e65db82f
[W 07:26:35.267 NotebookApp] 404 GET /nbextensions/widgets/notebook/js/extension.js?v=20200124072619 (127.0.0.1) 51.00ms referer=http://localhost:1900/notebooks/Untitled3.ipynb?kernel_name=python38032bit9b5acfee8b854d0d93ac0e2f85d921b8
Traceback (most recent call last):
File "C:\Users\jopawlow\AppData\Local\Programs\Python\Python38-32\lib\runpy.py", line 192, in _run_module_as_main
return _run_code(code, main_globals, None,
File "C:\Users\jopawlow\AppData\Local\Programs\Python\Python38-32\lib\runpy.py", line 85, in _run_code
exec(code, run_globals)
File "C:\Users\jopawlow\AppData\Local\Programs\Python\Python38-32\lib\site-packages\ipykernel_launcher.py", line 16, in
app.launch_new_instance()
File "C:\Users\jopawlow\AppData\Local\Programs\Python\Python38-32\lib\site-packages\traitlets\config\application.py", line 663, in launch_instance
app.initialize(argv)
File "<C:\Users\jopawlow\AppData\Local\Programs\Python\Python38-32\lib\site-packages\decorator.py:decorator-gen-125>", line 2, in initialize
File "C:\Users\jopawlow\AppData\Local\Programs\Python\Python38-32\lib\site-packages\traitlets\config\application.py", line 87, in catch_config_error
return method(app, *args, **kwargs)
File "C:\Users\jopawlow\AppData\Local\Programs\Python\Python38-32\lib\site-packages\ipykernel\kernelapp.py", line 527, in initialize
self.init_sockets()
File "C:\Users\jopawlow\AppData\Local\Programs\Python\Python38-32\lib\site-packages\ipykernel\kernelapp.py", line 287, in init_sockets
self.init_iopub(context)
File "C:\Users\jopawlow\AppData\Local\Programs\Python\Python38-32\lib\site-packages\ipykernel\kernelapp.py", line 295, in init_iopub
self.iopub_thread = IOPubThread(self.iopub_socket, pipe=True)
File "C:\Users\jopawlow\AppData\Local\Programs\Python\Python38-32\lib\site-packages\ipykernel\iostream.py", line 68, in init
self._setup_pipe_in()
File "C:\Users\jopawlow\AppData\Local\Programs\Python\Python38-32\lib\site-packages\ipykernel\iostream.py", line 141, in _setup_pipe_in
self._pipe_in = ZMQStream(pipe_in, self.io_loop)
File "C:\Users\jopawlow\AppData\Local\Programs\Python\Python38-32\lib\site-packages\zmq\eventloop\zmqstream.py", line 127, in init
self._init_io_state()
File "C:\Users\jopawlow\AppData\Local\Programs\Python\Python38-32\lib\site-packages\zmq\eventloop\zmqstream.py", line 546, in _init_io_state
self.io_loop.add_handler(self.socket, self._handle_events, self.io_loop.READ)
File "C:\Users\jopawlow\AppData\Local\Programs\Python\Python38-32\lib\site-packages\tornado\platform\asyncio.py", line 99, in add_handler
self.asyncio_loop.add_reader(fd, self._handle_events, fd, IOLoop.READ)
File "C:\Users\jopawlow\AppData\Local\Programs\Python\Python38-32\lib\asyncio\events.py", line 501, in add_reader
raise NotImplementedError
NotImplementedError
[W 07:27:35.309 NotebookApp] Timeout waiting for kernel_info reply from d3d0d9f4-2058-4084-92da-9107e65db82f
[I 07:28:10.900 NotebookApp] Starting buffering for d3d0d9f4-2058-4084-92da-9107e65db82f:20bc1394b5a746bd8bf7e8c5aa27d9f2
[I 07:31:35.576 NotebookApp] Shutting down on /api/shutdown request.
[I 07:31:35.581 NotebookApp] Shutting down 1 kernel
[I 07:31:40.617 NotebookApp] Kernel shutdown: d3d0d9f4-2058-4084-92da-9107e65db82f

Thank you in advance. I really appreciate the guidance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions