I\'m trying to use the bash kernel in iPython/Jupyter notebook, but I need sudo access within the notebook itself.
I\'ve tried $ sudo jupyter notebook to ru
$ sudo jupyter notebook
The solution as described here. Is to use
sudo -E env "PATH=$PATH" jupyter notebook
Basically the binary to call jupyter notebook is in the user's PATH variable, but not for root.
jupyter notebook
PATH
Best regards.