In the Python config file, names should start with c. - like
c.NotebookApp.ip . You should be able to find this already in the generated
config file and uncomment it.

On 12 December 2017 at 20:33, Pasle Choix <[email protected]> wrote:

> I installed Anaconda2 and followed this doc: http://jupyter-notebook.
> readthedocs.io/en/stable/config_overview.html generated jupyter_notebook_
> config.py
>
> all the settings remain unchanged except for two:
> NotebookApp.ip = '*'
> NotebookApp.port = 8880
>
>
> When I started notebook:
> ./jupyter notebook --port 8880
> I received error:
>
> File 'jupyter_notebook_config.py', line 167, in <module>
> NotebookApp.ip = '*'
> NameError: name 'NotebookApp' is not defined
>
> Can anyone help to sort it out?
>
> Thank you very much.
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Project Jupyter" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/jupyter/def15c5d-e740-4ba8-aebb-886a1ff5d6d4%40googlegroups.com
> <https://groups.google.com/d/msgid/jupyter/def15c5d-e740-4ba8-aebb-886a1ff5d6d4%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Project Jupyter" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jupyter/CAOvn4qjuty3yeSL7%3DFcwisKFgfiQ5j-kynOzG3on-cD%2Be_jCHA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to