An error occurred while creating a new notebook jupiter

I'm trying to open new notebook in Jupyter Notebook. But it's denies my permission. Along this problem when I try to open one of directories it's throws an Server Error ,It's occurs in every direc...

I’m trying to open new notebook in Jupyter Notebook. But it’s denies my permission.

Along this problem when I try to open one of directories it’s throws an Server Error ,It’s occurs in every directory

I’m using conda version 4.4.10 , Windows 7 Professional (if it helps)

asked Jun 19, 2018 at 12:37

Mher Khachatryan's user avatar

Launch anaconda as administrator .

answered Jun 19, 2018 at 12:44

Marc Chevallier's user avatar

1

It is not a very good idea to run as admin because you may mess up the whole system by putting commands unless you really know what you are doing(professionally). We generally work with computers under «Admin privilege».

What you need to do is, to make sure you are at "c:usersyour username". If you are not there: type "c: cdUsersyour username".

You are probably at "C:> " when you try to open "jupyter notebook". Hope that helps!

Ann Zen's user avatar

Ann Zen

26.3k7 gold badges35 silver badges56 bronze badges

answered Jun 27, 2020 at 23:06

Barbara M. Hong's user avatar

This error occurred due to window defender .
add jupyter app to allowed app in firewall & protection .
i hope the problem is solved.

answered Jul 26, 2019 at 10:33

anand singh's user avatar

1

if you are going through anaconda prompt. just click on Anaconda navigator and lanch jupyter notebook from here, if your page opened in internet explorer just copy URL and paste in chrome and now re-try to create a new notebook. I hope it will work

answered May 23, 2019 at 16:58

Saketh Mandapaka's user avatar

Hi, everyone! When I want to create a new file Jupyter gives me the error shown in the following image. Does anybody have an idea what’s the reason for it and how I can change it?

I’m not sure if it’s connected but the error appears since I tried to export a notebook as html. I tried this first using «File — Download as…» but this gave me an error. It worked then in the terminal using «jupyter nbconvert -to html file.ipynb» but since I did this the validation error appears when I want to create a new file:

grafik

I get a similar error when I try to work on notebooks that were created before:

grafik

There I managed to solve the error by changing the value for «nbformat_minor» to 4 instead of 2 using a text editor. Therefore, I think the problem lies somehow in this nbformat_minor setting which is set to 2 instead of 4 when I create a new notebook. But I have no idea why this error appears now. I didn’t update anything before this error appeared. Is there a way to change the default setting for nbformat_minor? The installed nbformat version is 5.0.8.

Would be great if anybody could help me out with that! Thanks a lot in advance!

Please let me know if you need any additional information!

  • Remove From My Forums
  • Question

  • Hi All,

    After I successfully deploy a Spark cluster on HDInsight, the Jupyter server is running normally, but if I try to create a notebook I get an error with the message below:

    Creating Notebook Failed
    An error occurred while creating a new notebook.
    Not Found 

    Some weeks ago I noticed it would always happen if I create the cluster with ADLS as the default storage, but it would work fine when creating the cluster with a Blob store as the default storage. Now even this option is not working anymore.

    It seems like it cannot find the Kernel on container, as there is just an empty file called HDINotebooks rather than a folder called HDINotebooks with the kernels inside. 

    Has anyone come across this issue?

    Regards,

    Fabio

Be The First To Get Support Updates

Want to know about the latest technical content and software updates?

Error Message

Various ArcGIS modules can be used with the Jupyter Notebook application installed with ArcGIS Pro, and a folder location is automatically created to store the notebooks. However, the following error message is returned when creating a new notebook using the default location created in the C drive of the machine.

Error:   
Creating Notebook Failed
An error occurred while creating a new notebook. Permission denied: <notebook_name>.ipynb

Error message

Cause

The following are possible causes:

  • The read or write permissions of the default folder located in the C drive of the machine is restricted.
  • An error occurred during the ArcGIS Pro or ArcGIS Python Package Manager installation.

Solution or Workaround

If the read or write permissions of the default folder is restricted, either start Jupyter Notebook in a different folder, or request the admin to create a new Python environment clone for non-admin users.

Start the Jupyter Notebook in a different folder

In the Python Command Prompt, replace the file path with a different folder containing the appropriate read or write permissions.

  1. Open the Python Command Prompt. Type the following code to change the folder location to the desired folder, and press Enter.
cd [folder location] 

Different folder

  1. Type jupyter notebook in the Python Command Prompt to launch Jupyter Notebook on the machine, and press Enter.
jupyter notebook

Python Command Prompt

Request the admin of the machine to create a new Python environment clone for non-admin users

Non-admin users do not have the required permissions to clone a Python environment, only admins can do this. Refer to How To: Clone a Python environment with the Python Command Prompt for detailed steps.

If the error occurred during an installation of ArcGIS Pro or ArcGIS Python Package Manager, follow the steps described below to resolve the issue.

  1. Open Windows File Explorer and, navigate to ‘C:Program FilesArcGISProbinPython’.
  2. Rename the Python folder and repair the ArcGIS Pro application. Refer to Microsoft: Repair apps and programs for more information.
Note:
Installation of ArcGIS Pro includes the installation of ArcGIS Python Package Manager. If the ArcGIS Python Package Manager is not installed during the ArcGIS Pro installation, manually install the package manager. Refer to ArcGIS API for Python: Install using ArcGIS Pro Python Package Manager for detailed steps.

Related Information

  • ArcGIS Pro: Python Package Manager
  • ArcGIS API for Python: Using the Jupyter Notebook environment
  • How To: Troubleshoot installation and uninstallation issues
  • ArcGIS Blog: Three Ways to Get Jupyter Notebooks and the ArcGIS API for Python

Last Published: 12/1/2019

Article ID: 000021819

Software: ArcGIS Pro 2.4.2, 2.4.1, 2.4, 2.3.3, 2.3.2, 2.3.1, 2.3, 2.2.4, 2.2.3, 2.2.2, 2.2.1, 2.2, 2.1.3, 2.1.2, 2.1.1, 2.1, 2.0.1, 2.0, 1.4.1, 1.4, 1.3.1, 1.3, 1.2

У меня есть ununtu 18.04.1 установленных, а также анаконда 4.5.8.

После ввода:

$ jupyter notebook

Я получаю стандарт jupyter домашняя страница.

Но когда я пытаюсь нажать New/Notebook/Python3, я получаю следующую ошибку:

Creating Notebook Failed>An error occurred while creating a new notebook>Permission denied: Untitled.ipynb

Как я могу зафиксировать это?

Когда я ввожу навигатора анаконды в терминал GUI ниже запусков. Я могу затем запустить s jypter ноутбук, который работает путем простого нажатия на jupyter вкладку ноутбука.

enter image description here

Однако я не вижу, что анаконда не предлагает нигде ни одному GUI выше на на исходном терминальном сеансе?

desktop:~$ cd /Projects/jupyter-notebook
desktop:/Projects/jupyter-notebook$ anaconda-navigator

Не возможно ввести что-либо на этом терминальном сеансе, в то время как навигатор анаконды все еще работает!

задан
30 July 2018 в 14:58

поделиться

Понравилась статья? Поделить с друзьями:
  • An error occurred while consolidating disks msg fileio lock
  • An error occurred while connecting to steam please try again
  • An error occurred while connecting to epic servers please try again later перевод
  • An error occurred while configuring oracle xe database
  • An error occurred while communicating with the remote host