Jupyter Notebook 安装

时间:2020-04-28
本文章向大家介绍Jupyter Notebook 安装,主要包括Jupyter Notebook 安装使用实例、应用技巧、基本知识点总结和需要注意事项,具有一定的参考价值,需要的朋友可以参考一下。

Jupyter Notebook 安装:

安装:

pip install  Jupyter

注意:
	前提是需要安装了Python(3.3版本及以上,或2.7版本)

Anaconda解决Jupyter Notebook的安装:
    	conda install jupyter notebook
    
pip 升级最新:
	pip3 install --upgrade pip

配置:

jupyter notebook --help    官方文档

启动:
	jupyter notebook

自定义端口号来启动Jupyter Notebook:
    jupyter notebook --port <port_number>
    
无需立刻启动浏览器:
    jupyter notebook --no-browser
    
生成配置文件:
	jupyter notebook --generate-config 生成配置文件
修改工作目录:
	c.NotebookApp.notebook_dir = r'E:\jupyter_notebook'
    
异地登陆:
	在另一台电脑访问页面,启动Jupyter时需要添加IP地址
    jupyter notebook --ip=192.168.31.253

快捷键:

向上插入一个cell:a
向下插入一个cell:b
删除cell:x
将code切换成markdown:m
将markdown切换成code:y
运行cell:shift+enter
查看帮助文档:shift+tab
自动提示:tab

在[] 内部插入 --》 cell

原文地址:https://www.cnblogs.com/shaozheng/p/12794622.html