当前位置: 代码迷 >> 综合 >> jupyter notebook创建新notebook失败Permission denied: Untitled.ipynb
  详细解决方案

jupyter notebook创建新notebook失败Permission denied: Untitled.ipynb

热度:77   发布时间:2023-12-15 16:34:04.0

报错:Permission denied: Untitled.ipynb
解决:
生成jupyter notebook配置
$ jupyter notebook --generate-config
修改jupyter notebook配置
c.NotebookApp.notebook_dir = ‘.’

$ sudo chown your_user_name:root ~/.local/share/jupyter
修改你要新建文件的那个文件夹的权限,比如folder1
$ cd folder1
$ sudo chown your_user_name:root -R .

https://blog.csdn.net/ayatou666/article/details/83345880

  相关解决方案