jupyter notebook 使用
发布时间:2020-12-14 00:49:34 所属栏目:Linux 来源:网络整理
导读:1、安装 pip3 install jupyter 2、配置 2.1. 生成一个 notebook 配置文件 jupyter notebook --generate-config /root/.jupyter/jupyter_notebook_config.py 2.2. 生成密码 从 jupyter notebook 5.0 版本开始,提供了一个命令来设置密码: jupyter notebook p
1、安装pip3 install jupyter 2、配置2.1. 生成一个 notebook 配置文件jupyter notebook --generate-config
/root/.jupyter/jupyter_notebook_config.py
2.2. 生成密码从 jupyter notebook 5.0 版本开始,提供了一个命令来设置密码: $ jupyter notebook password Enter password: **** Verify password: **** [NotebookPasswordApp] Wrote hashed password to /Users/you/.jupyter/jupyter_notebook_config.json 2.3. 修改配置文件在? c.NotebookApp.ip=‘*‘#163行 c.NotebookApp.password = u‘sha:ce...刚才复制的那个密文‘ #217行 c.NotebookApp.open_browser = False#208 c.NotebookApp.port =8888 #可自行指定一个端口,访问时使用该端口228行 ? 3、jupyter运行juputer notebook --allow-root --port=8889 --ip 192.x.x.x (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |