Closed matejc closed 1 year ago
I experienced the same issue, a quick nix flake update
in the directory where the flake is appears to resolve it.
I encountered the exact same symptom. In my case, jupyter-lab
was in nix develop
environment.
It turns out that jupyterlab-cond-build
(https://github.com/tweag/jupyenv/blob/main/lib/jupyter.nix#L55) causes an infinite recursive calls to jupyter-lab
. Here, the jupyter
command dispatches its subcommand from the PATH, and, in our case it is jupyter-lab
we installed that starts another jupyterlab-cond-build
and so on.
PR #460 fixes this bug, hopefully.
Current Behavior
Adding to system packages in NixOS, and running any jupyter* command ends with an endless loop.
Expected Behavior
To not loop endlessly and starts listening on 8888 port
Steps To Reproduce
OS
Version
37c9075875c4d1c1466465afd5e2c3ea1cc50325 (jupyenv/main)
Additional Context
I investigated a bit:
And come to conclusion that the last command here is the culprit.
Dig a bit further and found out it works if I isolate the environment:
This now starts listening to the 8888 port and I can start python kernel.
Relevant log output
No response