1. Traceback (most recent call last): 2. File "/usr/local/bin/jupyter-notebook", line 11, in <module> 3. sys.exit(main()) 4. File "/usr/local/lib/python3.4/dist-packages/jupyter_core/application.py", line 267, in launch_instance 5. return super(JupyterApp, cls).launch_instance(argv=argv, **kwargs) 6. File "/usr/local/lib/python3.4/dist-packages/traitlets/config/application.py", line 657, in launch_instance 7. app.initialize(argv) 8. File "<decorator-gen-7>", line 2, in initialize 9. File "/usr/local/lib/python3.4/dist-packages/traitlets/config/application.py", line 87, in catch_config_error 10. return method(app, *args, **kwargs) 11. File "/usr/local/lib/python3.4/dist-packages/notebook/notebookapp.py", line 1296, in initialize 12. self.init_webapp() 13. File "/usr/local/lib/python3.4/dist-packages/notebook/notebookapp.py", line 1120, in init_webapp 14. self.http_server.listen(port, self.ip) 15. File "/usr/local/lib/python3.4/dist-packages/tornado/tcpserver.py", line 142, in listen 16. sockets = bind_sockets(port, address=address) 17. File "/usr/local/lib/python3.4/dist-packages/tornado/netutil.py", line 197, in bind_sockets 18. sock.bind(sockaddr) 19. OSError: [Errno 99] Cannot assign requested address
解决:
jupyter notebook --ip 0.0.0.0 --no-browser --allow-root
AIEarth是一个由众多领域内专家博主共同打造的学术平台,旨在建设一个拥抱智慧未来的学术殿堂!【平台地址:https://devpress.csdn.net/aiearth】 很高兴认识你!加入我们共同进步!