网站品牌推广公司,单页网站模板,百度百科分类方法,一建报名时间2023文章目录 1、生成秘钥2、修改配置3、启动 Jupyter 安装和基本使用方法可见#xff1a; https://blog.csdn.net/lovechris00/article/details/123458990 1、生成秘钥
jupyter notebook password输入秘钥后#xff0c;将生成秘钥文件#xff0c;进入文件#xff0c;复制那一… 文章目录 1、生成秘钥2、修改配置3、启动 Jupyter 安装和基本使用方法可见 https://blog.csdn.net/lovechris00/article/details/123458990 1、生成秘钥
jupyter notebook password输入秘钥后将生成秘钥文件进入文件复制那一串加密后de字符 2、修改配置
生成配置文件
jupyter notebook --generate-config我的位于 /home/xx/.jupyter/jupyter_notebook_config.py 在配置文件添加以下内容
c.NotebookApp.ip * # 表示允许任意ip访问
c.NotebookApp.open_browser False # 运行时不打开本机浏览器
c.NotebookApp.port 8094 # 使用的端口随意设置
c.NotebookApp.password uargon2:$argon2id$v19$m10240,t10,p8$zegxxx # 刚才复制出来的秘钥数据
c.NotebookApp.allow_remote_access True #允许远程访问
c.NotebookApp.allow_root True注意ip 不要设置为 访问的 ip否则可能无法启动并报错 OSError: [Errno 99] Cannot assign requested address 你也可以设置为 127.0.0.1 3、启动
jupyter-notebook --ip0.0.0.0 --port8094 这样你可以在本地访问服务地址了如 http://192.50.158.201:8094/tree 参考 OSError: [Errno 99] Cannot assign requested address https://stackoverflow.com/questions/50374710/oserror-errno-99-cannot-assign-requested-address 伊织 2024-01-23一 深圳最冷这天 4-4-3-4 的我总希望生活是无限