• Jupyter笔记


    Jupyter Notebook是一个开源的web应用程序,一个交互式笔记本,支持运行 40 多种编程语言

    jupyter的安装和使用
    1、安装
    pip3 install jupyter
    找到安装的jupyter二进制文件
    find / -name jupyter
    创建软连接
    ln -s /usr/local/python3/bin/jupyter /usr/bin/jupyter

    2、初始化生成默认配置文件
    jupyter notebook --generate-config
    根据提示,找到生成的配置文件jupyter_notebook_config.py
    vim /root/.jupyter/jupyter_notebook_config.py
    修改对应值
    c.NotebookApp.ip = '0.0.0.0'
    c.NotebookApp.password = '123456'
    c.NotebookApp.port = 3333
    说明:
    修改后,就可以在浏览器中访问
    http://IP:3333
    密码:123456
    如果不设置密码,就需要使用jupyter.log 中的token值登录


    3、后台启动jupyter
    mkdir jupyter_server
    cd jupyter_server
    nohup jupyter notebook --allow-root > jupyter.log 2>&1 &
    或者
    nohup jupyter notebook --port 3333 --ip "0.0.0.0" --allow-root > jupyter.log 2>&1 &

    4、查看帮助
    jupyter notebook -h

    5、修改密码
    https://www.jianshu.com/p/17dca6584dfe


    password": "argon2:$argon2id$v=19$m=10240,t=10,p=8$wvlgLXiee1VIE+LkZcwxRr2ZHqpPsdpqzLg"
    password": u'sha:$argon2id$v=19$m=10240,t=10,p=p=8$wvlgLXiee1VIE+LkZcwxRr2ZHqpPsdpqzLg'

    u'sha:$argon2id$v=19$m=10240,t=10,p=8$wvlgLXiee1VIE+LkZcwxRr2ZHqpPsdpqzLg'

    jupyter配置文件选项说明

  • 相关阅读:
    jQuery基础一
    JavaScript基础三
    JavaScript基础二
    JavaScript基础一
    POJ
    UVA
    HDU
    Gym
    POJ
    HDU
  • 原文地址:https://www.cnblogs.com/andy9468/p/14808101.html
Copyright © 2020-2023  润新知