1、解决jupyter notebook问题:socket.error: [Errno 99] Cannot assign requested address
首先要生成一个jupyter的配置文件:
jupyter notebook --generate-config
#生成的config file在/root/.jupyter/jupyter_notebook_config.py
最后如下配置即可:
c.NotebookApp.ip = '******'
其中'******'有以下规律:
1)用127.0.0.1启动就可以,用localhost启动就不行;
2)用其他ip地址可以,用127.0.0.1不行;