!XDgUwBDoeNFiLcnLgQ:nixos.org

Nix Jupyter

56 Members
Goal is to discuss and document nix code to run multikernel jupyter frontends14 Servers

Load older messages


SenderMessageTime
17 Apr 2026
@robin:robin.townRobin left the room.18:57:33
27 Apr 2026
@ninja:worldethicaldataforum.orgNinja joined the room.14:36:22
28 Apr 2026
@l-88:matrix.orgpzka joined the room.23:40:42
@l-88:matrix.orgpzka

I trying to setup a jupyter server on nixos this is my config:

  services = {
    jupyter = {
      enable = true;
      extraPackages = with pkgs.python3.pkgs; [
        matplotlib
        pyvista
        numpy
        sympy
      ];
      ip = "0.0.0.0";
      port = 10000;

The server run nicely but I cannot have the "extraPackage" in the notebooks. According to the doc this is exactly what the option is supposed to do. https://github.com/NixOS/nixpkgs/blob/2f6dae9cdec9911e892a7345bc5acbb2e8ab26a0/nixos/modules/services/development/jupyter/default.nix#L12 . I don't understand what I do wrong. When I try to import numpy in the notebook it does not work.

23:41:35
@l-88:matrix.orgpzka

I tried the same thing in:

  environment = {
    systemPackages = with pkgs; [
       ...
       (python3.withPackages (python-pkgs: with python-pkgs; [
         matplotlib
         pyvista
         numpy
         sympy
      ]))

and it works. I can import numpy from the python console but it doesn't in a notebook.

23:41:46
@l-88:matrix.orgpzkaHi I have posted the same thing in the main chat but maybe here is more appropriate. 23:41:52
7 May 2026
@jykrwn_bot:matrix.orgjykrwn_bot joined the room.10:12:37
@mjolnir:nixos.orgNixOS Moderation Bot banned @jykrwn_bot:matrix.orgjykrwn_bot (disagreement).10:12:38
8 May 2026
@ka_so:octofriends.gardenKasanwa-Solane joined the room.00:49:24

There are no newer messages yet.


Back to Room ListRoom Version: 10