Skip to content

Commit

Permalink
Update bindings/jupyroot/README.md
Browse files Browse the repository at this point in the history
Alter kernel installation using `jupyter kernelspec install` instead of `cp`
  • Loading branch information
eunos-1128 authored and guitargeek committed Jul 22, 2024
1 parent 35dc952 commit a6234c8
Showing 1 changed file with 5 additions and 11 deletions.
16 changes: 5 additions & 11 deletions bindings/jupyroot/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,26 +3,20 @@ A software layer to integrate Jupyter notebooks and ROOT.

## Installation
1. [Install ROOT6](https://root.cern.ch/building-root) (> 6.05)
2. Install dependencies: pip install jupyter metakernel
2. Install dependencies: `pip install jupyter metakernel`

## Start using ROOTbooks
Set up the ROOT environment (`. $ROOTSYS/bin/thisroot.[c]sh`) and type in your
shell:
```
```shell
root --notebook
```
This will start a ROOT-flavoured notebook server in your computer.

Alternatively, if you would like to use the Jupyter command directly, you
can do on Linux:
```
cp -r $ROOTSYS/etc/notebook/kernels/root ~/.local/share/jupyter/kernels
jupyter notebook
```
and on OSx:
```
cp -r $ROOTSYS/etc/notebook/kernels/root /Users/$USER/Library/Jupyter/kernels/
jupyter notebook
can do:
```shell
jupyter kernelspec install $ROOTSYS/etc/root/notebook/kernels/root --user
```

Once the server is up, you can use ROOT with two kernels:
Expand Down

0 comments on commit a6234c8

Please sign in to comment.