jupyter throwing error: socket.gaierror: [Errno -2] Name or service not known

后端 未结 1 1586
既然无缘
既然无缘 2021-01-02 02:05

I run a pyspark cluster on AWS EMR and use Jupyter to the pyspark driver. Recently, the script failed. Jupiter fails to start a server. I install with conda install ju

相关标签:
1条回答
  • 2021-01-02 02:18

    I found that after the update to jupyter 5.7. I had to modify the config parameters. Change

    echo "c.NotebookApp.ip = '*'" >> ~/.jupyter/jupyter_notebook_config.py
    

    to

    echo "c.NotebookApp.ip = '0.0.0.0'" >> ~/.jupyter/jupyter_notebook_config.py
    
    0 讨论(0)
提交回复
热议问题