启动notebook并设置服务器ip:
jupyter notebook --NotebookApp.ip='192.168.31.78'
浏览器访问notebook ip:http://192.168.31.78:8888/tree
需要密码,解决办法:
1.再生jupyter配置文件:
C:\Users\38016>jupyter notebook --generate-config
Overwrite C:\Users\38016\.jupyter\jupyter_notebook_config.py with default config? [y/N]y
Writing default config to: C:\Users\38016\.jupyter\jupyter_notebook_config.py
有资料说要在Anaconda Prompt窗口中运行命令才可以,我在cmd窗口里运行,两者比较下结果,也没发现什么不同。
2.修改配置文件
编辑C:\Users\38016\.jupyter\jupyter_notebook_config.py