The following error was encountered while creating the Python file:
Creating Notebook Failed
An error occurred while creating a new notebook.
Unexpected error while saving FILE:ARMA/UNTITLED.IPYNB [Errno] Permission denied: '/home/wang/.local/share/jupyter/ Notebook_secret '
Solution:
To modify file permissions:
(my_env) wang@ubuntu:~ sudochmod+777.local/share/jupyter/(myenv) wang@ubuntu:sudo chmod +777. local/share/jupyter/( MY_ENV) wang@ubuntu:~ CD. local/share/jupyter/
(my_env) Wang@ubuntu:~/.local/share/jupyter lsruntime (myenv) Wang@ubuntu:/.local/share/jupyter ls runtime (my_env) Wang@ubuntu:~/.local/share/jupyter sudo chmod +777 runtime/
(my_env) Wang@ubuntu:~/.local/share/jupyter cdruntime/(myenv) Wang@ubuntu:/.local/share/jupyter/runtime CD runtime/ (my_env) Wang@ubuntu:~/.local/share/jupyter/runtime ls
Notebook_cookie_secret
(my_env) Wang@ubuntu:~/.local/share/jupyter/runtime Sudovinotebookcookiesecret (myenv) Wang@ubuntu:/.local/share/