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

报错: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

你可能感兴趣的:(.ipnb)