Jupyter notebook KeyError: ‘allow_remote_access’

I remember this instruction :

jupyter notebook --generate-config echo “c.NotebookApp.ip = ‘*’”

where changed by notebook package in the past to be of type ‘localhost’ or a fixed IP number.

Probably more people using conda will at some point experience that error when updating packages to new versions.

Just update that key manually on file $HOME/.jupyter/jupyter_notebook_config.py

1- You can try to change c.NotebookApp.ip = ‘localhost’ and make sure that you /etc/hosts file points the name localhost to IP 127.0.0.01

2- Or you can try to change to c.NotebookApp.ip = ‘0.0.0.0’

16 Likes