zoukankan      html  css  js  c++  java
  • jupyter配置

    docker 环境下使用Anaconda安装jupyter

    启动:/root/anaconda3/bin/jupyter notebook --ip=0.0.0.0 --allow-root

    启动jupyter出现一个错误页面

     

    关闭之后正常启动

    解决:对jupyter进行配置

    打开jupyter,新建一个notebook,生成密码的sha1秘钥

     

    在服务器上执行:

    jupyter notebook --generate-config

    会出现配置文件

    # /root/.jupyter/jupyter_notebook_config.py

    对文件jupyter_notebook_config.py进行配置:

    c.NotebookApp.ip = ‘*’  #监听所有ip ,启动参数ip可不写

    c.NotebookApp.password = ‘’      #配置密码

    c.NotebookApp.open_browser = False  #不开启浏览器

     

    启动命令:jupyter notebook --ip=0.0.0.0 --allow-root

    终端浏览器输入ip:8888

    即可!

  • 相关阅读:
    yii2之依赖注入与依赖注入容器
    MySQL查询性能优化
    MySQL索引(2)
    go es
    es数据操作入门
    es环境搭建
    gRPC接入etcd
    etcd简单介绍
    Go调用NSQ简单实践
    NSQ快速入门实践
  • 原文地址:https://www.cnblogs.com/yu121/p/13518240.html
Copyright © 2011-2022 走看看