0
点赞
收藏
分享

微信扫一扫

root权限使用jupyter notebook

春意暖洋洋 2022-01-26 阅读 105

在某些情况下需要用root权限打开jupyter notebook,譬如我们要在jupyter notebook里面运行的代码需要root权限才能访问设备的时候。
Root access for Jupyter/iPython Notebook

Basically the binary to call jupyter notebook is in the user's PATH variable, but not for root.
sudo -E env "PATH=$PATH" jupyter notebook --allow-root
举报

相关推荐

0 条评论