Jupyter notebook not trusted

折月煮酒 提交于 2019-12-20 17:33:03

问题


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

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


回答1:


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.




回答2:


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



回答3:


Apart from them,
You can click on "Not Trusted"
and click on "Trust" when confirmation window pops up.



来源:https://stackoverflow.com/questions/44943646/jupyter-notebook-not-trusted

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!