Ubuntu – Jupyter: An error occurred while creating a new notebook

18.04anacondajupyter

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.

enter image description here

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!

Best Answer

  1. Open the terminal and start Anaconda Navigator with the following command:

    anaconda-navigator  
    
  2. In Ananconda Navigator select Environments (in left pane) -> Python35 -> Open Terminal.

  3. 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.