Jupyter: An error occurred while creating a new notebook
I have ununtu 18.04.1 installed as well as the anaconda 4.5.8.
After typing:
$ jupyter notebook
I get the standard jupyter homepage.
But when I try to click New/Notebook/Python3 I get the following error:
Creating Notebook Failed>An error occurred while creating a new notebook>Permission denied: Untitled.ipynb
How can I fix this?
When I type anaconda navigator into terminal the GUI below starts. I can then start s jypter notebook that works by simply clicking on the jupyter notebook tab.
However I can't see the anaconda prompt anywhere neither the GUI above on in the original terminal session?
desktop:~$ cd /Projects/jupyter-notebook
desktop:/Projects/jupyter-notebook$ anaconda-navigator
It's not possible to type anything in this terminal session while anaconda navigator is still running!
Solution 1:
-
Open the terminal and start Anaconda Navigator with the following command:
anaconda-navigator
In Ananconda Navigator select Environments (in left pane) -> Python35 -> Open Terminal.
-
Click Open Terminal and run the following command to start Jupyter Notebook:
jupyter-notebook
This command starts the Jupyter that is installed in Anaconda, so the Python 3 that is installed in Anaconda is able to recognize it.
Solution 2:
I also faced this problem and solved it very simply following these steps:
- Close all Jupyter Notebook tabs on the web browser.
- Terminate all Jupyter processes in the terminal.
- Open a new Jupyter Notebook.