Comments (9)
Thank you for opening this issue @Jules00768, could you share the version of Notebook and other Jupyter related packages you are using, via jupyter --version
as well as the output you see from where you run jupyter notebook
or jupyter notebook --debug
? When running jupyter kernelspec list
do you see any available kernels?
from notebook.
this is the same issue i'm facing, working on lubuntu lts 22.04, the jupyter will execute codes as usual but the kernel is not connecting at all as seen in the terminal. All i have noticed in terminal is that is stays on connecting and nothing after that. Also at the first run it shows this after trying to connect: [I 2024-07-22 16:38:51.966 ServerApp] Connecting to kernel dff0b987-2f5c-4ff2-999e-8f5eaf39055e.
[W 2024-07-22 16:38:52.098 ServerApp] Got events for closed stream <zmq.eventloop.zmqstream.ZMQStream object at 0x765de7492f50>
I tried creating new kernel, reinstalling zmq and all other stuff. The notebook and ipykernel has been reinstalled too.
In debug, I have noticed in terminal that it keeps repeating token accepting procedure but never fails or shows success either:
2024-07-22 17:00:16.373 ServerApp] Accepting token-authenticated request from 1xx.x.x.x
[D 2024-07-22 17:00:16.420 ServerApp] 200 GET /api/contents?content=1&hash=0&1721xxxxxxxxx ([email protected]) 48.12ms
[D 2024-07-22 17:00:17.777 ServerApp] Accepting token-authenticated request from 1xx.x.x.x
[D 2024-07-22 17:00:17.781 ServerApp] 200 GET /api/contents/pp.ws/initiate1.ipynb/checkpoints?17xxxxxx65 ([email protected]) 4.48ms
from notebook.
Thank you for adding your input here @Lubuntu-Man! There are a few issues in the queue that users submitted after having trouble connecting to the kernel. You might want to take a look there to see if there is a similar issue reported that mentions a potential fix or workaround.
from notebook.
@Jules00768 just a follow up ping here in case you were able to try out the suggestions in my previous comment?
from notebook.
Hi @Lubuntu-Man, wondering if you are still facing this issue? Were you able to look at the queue to find a similar issue? Also if you could share the version of Notebook you are using (jupyter --version
) that would be helpful!
from notebook.
hey @RRosio, so i switched to a windows 10 laptop from lubuntu 22.04 desktop, and you won't believe, i faced the same issue. Exactly the same. here are the version details or current windows system:
IPython : 8.26.0
ipykernel : 6.29.5
ipywidgets : 8.1.3
jupyter_client : 8.6.2
jupyter_core : 5.7.2
jupyter_server : 2.14.2
jupyterlab : 4.2.4
nbclient : 0.10.0
nbconvert : 7.16.4
nbformat : 5.10.4
notebook : 7.2.1
qtconsole : 5.5.2
traitlets : 5.14.3
I am trying to find any irregularities in firewall. adding the jupyter manually in firewall allow hasn't made any difference. God help us!
from notebook.
I will close this issue due to inactivity but please feel free to reopen with any additional information/updates!
from notebook.
so nobody has found any solution to this till now. I just performed the zmq check to and it didn't help either. we really need a solution to this as this issue seems to be very unique. Although people in past did came through such kernel issues but nobody seems to find the solution of this particular "[W 2024-08-06 18:57:37.827 ServerApp] Got events for closed stream <zmq.eventloop.zmqstream.ZMQStream object at 0x000001CDAD8CE270>"
from notebook.
@RRosio hey, so for me, installing python 3.10 and the anaconda 3 and then installing jupyter notebook 6.5.7 in conda env from Anaconda navigator finally helped. Here i'm attaching the current version details for everyone's reference. Thank you for your efforts as i read in other discussions zmq related errors which helped me solve this out.
jupyter --version
Selected Jupyter core packages...
IPython : 8.25.0
ipykernel : 6.28.0
ipywidgets : not installed
jupyter_client : 7.4.9
jupyter_core : 5.7.2
jupyter_server : 2.14.1
jupyterlab : not installed
nbclient : 0.8.0
nbconvert : 7.10.0
nbformat : 5.9.2
notebook : 6.5.7
qtconsole : not installed
traitlets : 5.14.3
from notebook.
Related Issues (20)
- For some reason .so files aren't showing up in the Jupyter Notebook file browser HOT 6
- Cell numbering is broken for notebook/lab 7 (Anaconda) HOT 3
- Control the direction of flowcharts in Mermaid HOT 2
- Entering numbers in output automatically changes the code cell to markdown and kernel hangs HOT 6
- Keyboard shortcuts to jump to output of executed cell
- I canβt launch Jupyter notebook (PermissionError: [Errno 13] Permission denied) HOT 7
- Support the new filebrowser filter
- I can't Launch Jupyter Notebook HOT 8
- v6 -> v7 regressions make notebook impossible to use HOT 5
- Document Running Notebook over SSH Tunnel HOT 2
- Trying to open any notebook/lab v5-7 makes terminal completely unresponsive HOT 3
- Find & replace function also replaces text in read-only cells HOT 1
- OSError: [WinError 10038] - jupyter notebook crashing HOT 3
- Jupyter Notebook fails to run code with OSError and RunTimeError. HOT 8
- "Run this cell and advance" does not work in combination with getpass / input HOT 1
- shift-enter shortcut is too different from most other tools HOT 1
- no such file or directory: bin/ls HOT 2
- Syntax highlighting not on by default HOT 2
- Context-aware auto-indenting not on by default HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from notebook.