jupyter安装及其环境
安装lab与notebook模块
- conda install -c conda-forge jupyterlab
- conda install -c conda-forge notebook
在已经创建好的虚拟环境下执行命令,安装jupyter 核心选择模块:
- conda install -c anaconda nb_conda_kernels
安装PEP8排版工具
- conda install -c conda-forge autopep8
其他可能需要的第三方工具
交互式组件 ipywidgets
- conda install -c conda-forge ipywidgets
交互式2D绘图库 BQplot
- conda install -c conda-forge bqplot
三维可视化 pythreejs ipyvolume
- conda install -c conda-forge pythreejs
- conda install -c conda-forge ipyvolume
映射 ipyleaflet gmap
- conda install -c conda-forge ipyleaflet
- conda install -c conda-forge gmaps
自动补全工具(只需要在任意一个虚拟环境中安装即可)
安装
- conda install -c conda-forge jupyter_contrib_nbextensions
执行代码块
- jupyter contrib nbextension install --user --skip-running-check
- 勾选需要的模块,常用模块:
自动补全
Hinterland
排版规范
Autopep8
字体大小
Code Fout Size
检查拼写
spellchecker
目录索引
Table of Contents (2)
代码行数
Toggle all line numbers