New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New jupyter service #45697
Comments
I managed to make the ihaskell work with the new service (see IHaskell/IHaskell#920) but it's still impractical since I had to wrap ihaskell etc. We definitely should have packages generate a kernel.json and just load it the jupyter service (eventually using JUPYTER_PATH). |
I'm definitely interested in how to get python3 to work! Even when removing the logo options, the notebook still isn't able to connect to the kernel. I'm not sure what the Edit: Nevermind, it works on localhost so it has got to be something with my nginx config. I'll write back when I figured it out. 2nd Edit: Fixed it, it must have had something to do with supporting Websocket. I just added the lines of nginx configuration from here |
Just to chime in with my experience:
Some details on what's necessary in the kernel spec: #10713 (comment) |
@teto You might want to take a look at #61177 and IHaskell/IHaskell#1027 for the ihaskell integration. |
Thank you for your contributions. This has been automatically marked as stale because it has had no activity for 180 days. If this is still important to you, we ask that you leave a comment below. Your comment can be as simple as "still important to me". This lets people see that at least one person still cares about this. Someone will have to do this at most twice a year if there is no other activity. Here are suggestions that might help resolve this more quickly:
|
Alright, closing. Indeed no longer interested now that I'm using jupyterWIth. |
Issue description
Follow up of the newly merged jupyter service (thanks to the authors, that's super cool !):
4d3ce5c from the PR #33673
First of all I've noticed a few errors in the doc (space/missing curly dollar) that generates errors.
For instance if I use the exmaple given for services.jupyter.kernels, I get:
string 'lib/python3.6/site-packages/ipykernel/resources/logo-32x32.png' doesn't represent an absolute path, at /home/teto/dotfiles/nixpkgs/modules/jupyter.nix:35:20
I am looking at getting ihaskell running through this new service which makes
./services/misc/ihaskell.nix
redundant (should we remove it ?). It would be better to have the ihaskell package generate a kernel.json as sagemath does (well it's just copied from upstream "/share/jupyter/kernels/sagemath/kernel.json").A bit of doc on kernel specs:
nixos/modules/services/development/jupyter/kernel-options.nix
https://jupyter-client.readthedocs.io/en/stable/kernels.html#kernel-specs
The text was updated successfully, but these errors were encountered: