Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Jupyter notebook not trusted

I am using Anaconda to work on a Jupyter notebook which displays "Not Trusted" (see on screenshot below).

enter image description here

What does it mean? Is it a problem? How can I solve it?

like image 305
Clément F Avatar asked Jul 06 '17 08:07

Clément F


People also ask

What does not trusted mean in Jupyter notebook?

It is a security feature to disable the execution of arbitrary code from untrusted notebooks, without the user's consent.

Why is my Jupyter notebook not working?

Jupyter doesn't load or doesn't work in the browserTry disabling any browser extensions and/or any Jupyter extensions you have installed. Some internet security software can interfere with Jupyter. If you have security software, try turning it off temporarily, and look in the settings for a more long-term solution.


Video Answer


2 Answers

You can try doing

jupyter trust notebook-name.ipynb 

as is stated in the docs.

After that, open the notebook as usual with

jupyter notebook notebook-name.ipynb 
like image 139
Vincent Pakson Avatar answered Oct 06 '22 22:10

Vincent Pakson


It is a security feature to disable the execution of arbitrary code from untrusted notebooks, without the user's consent. There is a doc page on that http://jupyter-notebook.readthedocs.io/en/latest/security.html

It won't prevent you from manually running the code, that's actually one way of "trusting" the outputs.

like image 29
Anis Avatar answered Oct 06 '22 20:10

Anis