• 远程jupyter+pycharm配置(三)之 启动jupyter报错:OSError: [Errno 99] Cannot assign requested address


    报错:

    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
    View Code

     解决方案

    (base) [root@analysis miniconda3]# nohup jupyter notebook --ip 0.0.0.0 --no-browser --allow-root &
    [1] 2735

    完结

  • 相关阅读:
    token验证流程
    mongodb常用命令
    vue生命周期详解
    json-server基本使用
    Vue实现一个简单的todolist
    [高级软件工程教学]个人第2次作业第一次测评结果
    [福大高级软工教学]个人第1次作业成绩公布
    nginx+tomcat负载均衡
    apache 工作模式
    Apache主要的配置文件们
  • 原文地址:https://www.cnblogs.com/wqbin/p/12811693.html
Copyright © 2020-2023  润新知