Last active
September 20, 2024 14:03
-
-
Save Vinetos/5fededcf735523d6ee75578fd27c157c to your computer and use it in GitHub Desktop.
Jupyer NoteBook on NixOS with Numpy and matplotlib
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
with import <nixpkgs> {}; | |
mkShell { | |
buildInputs = [ | |
# Defines a python + set of packages. | |
(python3.withPackages (ps: with ps; with python3Packages; [ | |
jupyter | |
ipython | |
# Uncomment the following lines to make them available in the shell. | |
numpy | |
matplotlib | |
scikitimage | |
scipy | |
])) | |
]; | |
# Automatically run jupyter when entering the shell. | |
shellHook = "jupyter notebook"; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment