Jupyter notebook keeps reconnecting to kernel

前端 未结 2 712
悲哀的现实
悲哀的现实 2021-01-19 05:31

I get to open the Jupyter console without any problems, but when I create a new notebook it keeps connecting to and disconnecting from the kernel (the messages \"Connecting

2条回答
  •  说谎
    说谎 (楼主)
    2021-01-19 06:05

    I've just changed the port from 8888 to 9999, and the problem is gone.

    use the command

    jupyter notebook --generate-config
    

    (it says where the generated config file is)

    to generate a config file, then find the line

    c.NotebookApp.port
    

    and change the port.

提交回复
热议问题