* [ISSUE] jupyter notebook cannot start python3 kernel
@ 2023-03-15 19:33 Sqvid
2023-03-15 19:47 ` paper42
` (8 more replies)
0 siblings, 9 replies; 10+ messages in thread
From: Sqvid @ 2023-03-15 19:33 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1021 bytes --]
New issue by Sqvid on void-packages repository
https://github.com/void-linux/void-packages/issues/42793
Description:
### Is this a new report?
Yes
### System Info
Void 6.1.18_1 x86_64 GenuineIntel uptodate rrFFFFF
### Package(s) Affected
python3-jupyter_notebook-6.4.10_3
### Does a report exist for this bug with the project's home (upstream) and/or another distro?
_No response_
### Expected behaviour
After installing the package I would expect that `jupyter notebook` brings up the browser and allows me to create a new notebook with the python3 kernel.
### Actual behaviour
The browser opens but there is nothing listed under the "notebooks" option. [Picture example](https://imgur.com/a/ME8XWV9).
[Here is the output log.](https://pastebin.com/raw/4wKGtgN8) To me it looks like the `nbclient` package version needs to be `<0.6.0` but void packages `python3-nbclient-0.7.0_1`.
### Steps to reproduce
1. `# xbps-install -S python3-jupyter_notebook`
2. `$ jupyter notebook`
3. Switch to browser.
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: jupyter notebook cannot start python3 kernel
2023-03-15 19:33 [ISSUE] jupyter notebook cannot start python3 kernel Sqvid
@ 2023-03-15 19:47 ` paper42
2023-03-15 21:30 ` dkwo
` (7 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: paper42 @ 2023-03-15 19:47 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 190 bytes --]
New comment by paper42 on void-packages repository
https://github.com/void-linux/void-packages/issues/42793#issuecomment-1470738166
Comment:
@dkwo ddefd105ec0ab3cad38310213f7db48b11859dde
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: jupyter notebook cannot start python3 kernel
2023-03-15 19:33 [ISSUE] jupyter notebook cannot start python3 kernel Sqvid
2023-03-15 19:47 ` paper42
@ 2023-03-15 21:30 ` dkwo
2023-03-15 21:32 ` dkwo
` (6 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: dkwo @ 2023-03-15 21:30 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 567 bytes --]
New comment by dkwo on void-packages repository
https://github.com/void-linux/void-packages/issues/42793#issuecomment-1470871483
Comment:
it seems to work here
```
$ jupyter notebook
[I 17:25:27.756 NotebookApp] Jupyter Notebook 6.4.10 is running at:
[I 17:26:08.080 NotebookApp] Creating new notebook in /Documents/Sage
[I 17:26:09.846 NotebookApp] Kernel started: a446b7da-859f-4817-bbb2-6fa70e41bf55, name: python3
[IPKernelApp] WARNING | debugpy_stream undefined, debugging will not be enabled
```
just to make sure: are we using Python 3 (ipykernel)?
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: jupyter notebook cannot start python3 kernel
2023-03-15 19:33 [ISSUE] jupyter notebook cannot start python3 kernel Sqvid
2023-03-15 19:47 ` paper42
2023-03-15 21:30 ` dkwo
@ 2023-03-15 21:32 ` dkwo
2023-03-16 7:02 ` icp1994
` (5 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: dkwo @ 2023-03-15 21:32 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 222 bytes --]
New comment by dkwo on void-packages repository
https://github.com/void-linux/void-packages/issues/42793#issuecomment-1470874114
Comment:
of course updating the ancient python3-jupyter_notebook may be a good idea anyway
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: jupyter notebook cannot start python3 kernel
2023-03-15 19:33 [ISSUE] jupyter notebook cannot start python3 kernel Sqvid
` (2 preceding siblings ...)
2023-03-15 21:32 ` dkwo
@ 2023-03-16 7:02 ` icp1994
2023-03-16 15:20 ` Sqvid
` (4 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: icp1994 @ 2023-03-16 7:02 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 292 bytes --]
New comment by icp1994 on void-packages repository
https://github.com/void-linux/void-packages/issues/42793#issuecomment-1471421246
Comment:
Can you install `python3-pip` (if you don't have it already) and run `pip3 check`? That should give an indication if it's a dependency issue or not.
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: jupyter notebook cannot start python3 kernel
2023-03-15 19:33 [ISSUE] jupyter notebook cannot start python3 kernel Sqvid
` (3 preceding siblings ...)
2023-03-16 7:02 ` icp1994
@ 2023-03-16 15:20 ` Sqvid
2023-03-16 15:23 ` Sqvid
` (3 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: Sqvid @ 2023-03-16 15:20 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 522 bytes --]
New comment by Sqvid on void-packages repository
https://github.com/void-linux/void-packages/issues/42793#issuecomment-1472184964
Comment:
@dkwo
> just to make sure: are we using Python 3 (ipykernel)?
Yes I all the packages are of the form `python3-*` and `python --version` is `Python 3.11.2`.
@icp1994
> Can you install python3-pip (if you don't have it already) and run pip3 check? That should give an indication if it's a dependency issue or not.
```
$ pip3 check
No broken requirements found.
```
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: jupyter notebook cannot start python3 kernel
2023-03-15 19:33 [ISSUE] jupyter notebook cannot start python3 kernel Sqvid
` (4 preceding siblings ...)
2023-03-16 15:20 ` Sqvid
@ 2023-03-16 15:23 ` Sqvid
2023-03-16 17:04 ` Sqvid
` (2 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: Sqvid @ 2023-03-16 15:23 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 708 bytes --]
New comment by Sqvid on void-packages repository
https://github.com/void-linux/void-packages/issues/42793#issuecomment-1472184964
Comment:
@dkwo
> just to make sure: are we using Python 3 (ipykernel)?
Yes I all the packages are of the form `python3-*` and `python --version` is `Python 3.11.2`.
@icp1994
> Can you install python3-pip (if you don't have it already) and run pip3 check? That should give an indication if it's a dependency issue or not.
```
$ pip3 check
ipykernel 6.19.2 requires debugpy, which is not installed.
ipywidgets 7.6.3 requires jupyterlab-widgets, which is not installed.
nbconvert 6.4.5 has requirement nbclient<0.6.0,>=0.5.0, but you have nbclient 0.7.0.
```
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: jupyter notebook cannot start python3 kernel
2023-03-15 19:33 [ISSUE] jupyter notebook cannot start python3 kernel Sqvid
` (5 preceding siblings ...)
2023-03-16 15:23 ` Sqvid
@ 2023-03-16 17:04 ` Sqvid
2023-03-16 17:10 ` Sqvid
2023-03-16 17:19 ` icp1994
8 siblings, 0 replies; 10+ messages in thread
From: Sqvid @ 2023-03-16 17:04 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 923 bytes --]
New comment by Sqvid on void-packages repository
https://github.com/void-linux/void-packages/issues/42793#issuecomment-1472365650
Comment:
> it seems to work here
>
> ```
> $ jupyter notebook
> [I 17:25:27.756 NotebookApp] Jupyter Notebook 6.4.10 is running at:
> [I 17:26:08.080 NotebookApp] Creating new notebook in /Documents/Sage
> [I 17:26:09.846 NotebookApp] Kernel started: a446b7da-859f-4817-bbb2-6fa70e41bf55, name: python3
> [IPKernelApp] WARNING | debugpy_stream undefined, debugging will not be enabled
> ```
>
> just to make sure: are we using Python 3 (ipykernel)?
I managed to also get it working. Im not exactly sure how but in the process of messing it around i think I've possibly removed a pip package that may have caused the trouble. `pip3 check` still complains with the aformentioned messages but it works. I don't know why the `nbclient` version is no longer a dealbreaker though.
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: jupyter notebook cannot start python3 kernel
2023-03-15 19:33 [ISSUE] jupyter notebook cannot start python3 kernel Sqvid
` (6 preceding siblings ...)
2023-03-16 17:04 ` Sqvid
@ 2023-03-16 17:10 ` Sqvid
2023-03-16 17:19 ` icp1994
8 siblings, 0 replies; 10+ messages in thread
From: Sqvid @ 2023-03-16 17:10 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1221 bytes --]
New comment by Sqvid on void-packages repository
https://github.com/void-linux/void-packages/issues/42793#issuecomment-1472365650
Comment:
> it seems to work here
>
> ```
> $ jupyter notebook
> [I 17:25:27.756 NotebookApp] Jupyter Notebook 6.4.10 is running at:
> [I 17:26:08.080 NotebookApp] Creating new notebook in /Documents/Sage
> [I 17:26:09.846 NotebookApp] Kernel started: a446b7da-859f-4817-bbb2-6fa70e41bf55, name: python3
> [IPKernelApp] WARNING | debugpy_stream undefined, debugging will not be enabled
> ```
>
> just to make sure: are we using Python 3 (ipykernel)?
I managed to also get it working. Im not exactly sure how but in the process of messing it around i think I've possibly removed a pip package that may have caused the trouble. `pip3 check` still complains with the aformentioned messages but it works. I don't know why the `nbclient` version is no longer a dealbreaker though.
EDIT:
I've found the conflict. the package `yt` installed via `pip install yt` is what breaks it. Not sure whether this should be treated as a problem with `yt` or whether void's jupyter dependencies are just very outdated. For now I will just install both via `pip` since I need both working.
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: jupyter notebook cannot start python3 kernel
2023-03-15 19:33 [ISSUE] jupyter notebook cannot start python3 kernel Sqvid
` (7 preceding siblings ...)
2023-03-16 17:10 ` Sqvid
@ 2023-03-16 17:19 ` icp1994
8 siblings, 0 replies; 10+ messages in thread
From: icp1994 @ 2023-03-16 17:19 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 265 bytes --]
New comment by icp1994 on void-packages repository
https://github.com/void-linux/void-packages/issues/42793#issuecomment-1472389554
Comment:
Yeah it's quite old, I have been using it via pipx too. I plan to update it when they land the big update of notebook-v7.
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2023-03-16 17:19 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-15 19:33 [ISSUE] jupyter notebook cannot start python3 kernel Sqvid
2023-03-15 19:47 ` paper42
2023-03-15 21:30 ` dkwo
2023-03-15 21:32 ` dkwo
2023-03-16 7:02 ` icp1994
2023-03-16 15:20 ` Sqvid
2023-03-16 15:23 ` Sqvid
2023-03-16 17:04 ` Sqvid
2023-03-16 17:10 ` Sqvid
2023-03-16 17:19 ` icp1994
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).