Root access for Jupyter/iPython Notebook

前端 未结 8 1183
遇见更好的自我
遇见更好的自我 2021-02-07 13:50

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

8条回答
  •  走了就别回头了
    2021-02-07 14:13

    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).

提交回复
热议问题