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
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.
Best regards.
I am running the neopixel library from a jupyter notebook.
The only thing that worked for me was first running the "sudo su" command to move into the root environment and then run "jupyter notebook" (--allow-root alone didn't work for me).