自学内容网 自学内容网

## jupyter_server

$ conda install -c conda-forge jupyter_server 

查看配置文件路径

$ jupyter --paths

config:
    /home/musk/.jupyter
    /home/musk/anaconda3/etc/jupyter
    /usr/local/etc/jupyter
    /etc/jupyter
data:
    /home/musk/.local/share/jupyter
    /home/musk/anaconda3/share/jupyter
    /usr/local/share/jupyter
    /usr/share/jupyter
runtime:
    /home/musk/.local/share/jupyter/runtime

在目录 .jupyter 快速创建 jupyter_server_config.py

$ jupyter server --generate-config

自动设置密码

# 配置端口
c.ServerApp.port = 8888

# Set ip to '*' to bind on all interfaces (ips) for the public server
c.ServerApp.ip = '*'
c.ServerApp.password = u'sha1:bcd259ccf...<your hashed password here>'
c.ServerApp.open_browser = False


原文地址:https://blog.csdn.net/orDream/article/details/142730623

免责声明:本站文章内容转载自网络资源,如本站内容侵犯了原著者的合法权益,可联系本站删除。更多内容请关注自学内容网(zxcms.com)!