打开APP
userphoto
未登录

开通VIP,畅享免费电子书等14项超值服

开通VIP
python jupyter notebook 部署

安装

pip install jupyter

启动打开

jupyter notebookjupyter notebook --no-browserjupyter notebook --port <port_number>   #指定端口jupyter notebook --NotebookApp.notebook_dir=d:\abc   # 指定目录打开jupyter notebook --help /  jupyter notebook -h

本地访问

localhost:8888

配置文件

jupyter notebook --generate-configWriting default config to: C:\Users\tst\.jupyter\jupyter_notebook_config.py

修改

# 远程部署需要配置验证c.NotebookApp.ip = '*'    #设置所有ip皆可访问c.NotebookApp.allow_root = Truec.NotebookApp.open_browser = Falsec.NotebookApp.password = u'sha1:***'   #输入下面加密后得到的密文c.NotebookApp.port =8888 #随便指定一个端口

打开python3

from notebook.auth import passwdpasswd()

根据提示连续输入两次密码会生成密钥。‘sha1:5f8396ad0995:65d1ed0ed5e7f057ab1887b5972f1296d9d3832f’

本站仅提供存储服务,所有内容均由用户发布,如发现有害或侵权内容,请点击举报
打开APP,阅读全文并永久保存 查看更多类似文章
猜你喜欢
类似文章
【热】打开小程序,算一算2024你的财运
真是绝了!史上最详细的Jupyter Notebook入门教程
Jupyter Notebook的默认路径的修改配置
Mac下安装ipython与jupyter
Jupyter Notebook 快速入门(上)| 编程派 | Coding Python
Windows下的Jupyter Notebook 安装与自定义启动(图文详解)
anaconda的安装使用
更多类似文章 >>
生活服务
热点新闻
分享 收藏 导长图 关注 下载文章
绑定账号成功
后续可登录账号畅享VIP特权!
如果VIP功能使用有故障,
可点击这里联系客服!

联系客服