jupyter-notebook启动报错

执行启动命令如下:

1
nohup jupyter-notebook --ip=127.0.0.1 --port=8801 --notebook-dir=/home/eryk/jupyter_home &

错误信息如下:

1
PermissionError: [Errno 13] Permission denied: '/run/user/1000/jupyter'

解决办法:

1
unset XDG_RUNTIME_DIR

参考:
https://github.com/jupyter/notebook/issues/1318

eryk wechat
欢迎您扫一扫上面的微信公众号,订阅我的博客!
坚持原创技术分享,您的支持将鼓励我继续创作!
eryk WeChat Pay

WeChat Pay

eryk Alipay

Alipay