报错:
base) [root@analysis ~]# jupyter notebook [I 22:56:33.963 NotebookApp] [nb_conda_kernels] enabled, 2 kernels found Traceback (most recent call last): File "/root/miniconda3/bin/jupyter-notebook", line 11, in <module> sys.exit(main()) File "/root/miniconda3/lib/python3.7/site-packages/jupyter_core/application.py", line 270, in launch_instance return super(JupyterApp, cls).launch_instance(argv=argv, **kwargs) File "/root/miniconda3/lib/python3.7/site-packages/traitlets/config/application.py", line 663, in launch_instance app.initialize(argv) File "<decorator-gen-7>", line 2, in initialize File "/root/miniconda3/lib/python3.7/site-packages/traitlets/config/application.py", line 87, in catch_config_error return method(app, *args, **kwargs) File "/root/miniconda3/lib/python3.7/site-packages/notebook/notebookapp.py", line 1769, in initialize self.init_webapp() File "/root/miniconda3/lib/python3.7/site-packages/notebook/notebookapp.py", line 1490, in init_webapp self.http_server.listen(port, self.ip) File "/root/miniconda3/lib/python3.7/site-packages/tornado/tcpserver.py", line 151, in listen sockets = bind_sockets(port, address=address) File "/root/miniconda3/lib/python3.7/site-packages/tornado/netutil.py", line 174, in bind_sockets sock.bind(sockaddr) OSError: [Errno 99] Cannot assign requested address
解决方案
(base) [root@analysis miniconda3]# nohup jupyter notebook --ip 0.0.0.0 --no-browser --allow-root & [1] 2735
完结